diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-06-27 10:07:19 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-06-28 06:43:55 -0700 |
commit | a50d9a4d9ad3c71341788099d733e4151b8a511b (patch) | |
tree | b443b672ccc6a1bb6fc50dfdff3f5c5d3cf087ae /drivers/hwmon/ads1015.c | |
parent | 41fa9a944fce1d7efd5ee3d50ac85b92f42dcc3d (diff) |
hwmon: (ds1621) Fix temperature rounding operations
Commit "hwmon: (ds1621) Add ds1721 chip support" broke rounding
for chips or configurations with less than 12 bit resolution.
Tested-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ads1015.c')
0 files changed, 0 insertions, 0 deletions