hwmon: (tmp401) Simplification and cleanup
authorGuenter Roeck <linux@roeck-us.net>
Thu, 28 Mar 2013 04:23:10 +0000 (21:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 21 Apr 2013 15:26:41 +0000 (08:26 -0700)
Use two-dimensional array pointing to registers
Merge temperature and limit access functions into a single function
Return error codes from I2C reads
Use DIV_ROUND_CLOSEST for rounding operations and improve rounding

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>

No differences found