diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-27 21:23:10 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-21 08:26:41 -0700 |
commit | 14f2a6654dd42d60645071de26d17d0bced63a7d (patch) | |
tree | c30b46308280e4a1b99ed72bfc0c4e0edc2140ee /drivers/hwmon/smm665.c | |
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>
Diffstat (limited to 'drivers/hwmon/smm665.c')
0 files changed, 0 insertions, 0 deletions