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>
Wed, 5 Dec 2012 18:55:54 +0000 (10:55 -0800)
commitd835ca0fd2d50d126530b55e3c5dfe1b9038e26b
treee3f694895fe77983a0390f0294579aeafe17f559
parent0962e0f1a5634b63953db2c12edcff938f9d811d
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