Re: [PATCH] hwmon: ina2xx: use module_i2c_driver to simplify the code

2012-10-08 Thread Guenter Roeck
On Mon, Oct 08, 2012 at 08:40:35PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > 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 Applie

[PATCH] hwmon: ina2xx: use module_i2c_driver to simplify the code

2012-10-08 Thread Wei Yongjun
From: Wei Yongjun 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 --- drivers/hwmon/ina2xx.c | 13 + 1 file changed, 1 insertion(+), 12 del