]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (ina2xx) use module_i2c_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 12:40:35 +0000 (20:40 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 5 Nov 2012 16:07:18 +0000 (08:07 -0800)
commit22f09e35866a43db7d27d1821c5170217a7f4912
tree64647c378a996410a3f2b79327032baeb1260023
parent95e7b5b536f50f216d92be51f1a65ed84ed5b298
hwmon: (ina2xx) use module_i2c_driver to simplify the code

Use the module_i2c_driver() macro to make the code smaller
and a bit simpler.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina2xx.c