]> 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>
Tue, 30 Oct 2012 00:48:35 +0000 (17:48 -0700)
commita056d2072c34415155259dc04b00787960106cf1
treee10c2d097bcbdf37d28f308d818c2dc83cdcf46d
parentd1064c248a09b117a92d4b50c2aa1127393390bd
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