commit | 14f2a6654dd42d60645071de26d17d0bced63a7d | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Mar 27 21:23:10 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Apr 21 08:26:41 2013 -0700 |
tree | c30b46308280e4a1b99ed72bfc0c4e0edc2140ee | |
parent | b4e665c78023ee4e4821f8e602e3b403c49ef70f [diff] |
hwmon: (tmp401) Simplification and cleanup 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>