]> git.karo-electronics.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, 12 Nov 2012 14:55:45 +0000 (06:55 -0800)
commit5ea13592b8b3a9b4d4a550ff518993da30022dfc
tree340abd6e077c9fc1283c60a7611e92ae2ecf8abf
parent60a06b7572015683caa6660d08d82320fb937c5d
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