]> 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>
Sun, 14 Oct 2012 22:21:42 +0000 (15:21 -0700)
commit7a1f9b6200551f15fcc9bdc6b190dcfd0760fca9
treec804028e63caa67670434dbf55ae2bc6b2b4945e
parent0eda864b24b280fc2ef32e1eba558f7652af1547
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