diff options
author | Tom Levens <tom.levens@cern.ch> | 2017-07-03 07:28:58 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-05-21 17:52:00 +0300 |
commit | a6282d170339f86e05fd24bdf3104ca644a4b3a4 (patch) | |
tree | 2540ca650a1368e51f40914d3df8f0d156453224 /drivers/hwmon/hwmon-vid.c | |
parent | 59df4f4e8e0b9a0abb14ad5128d36d844c3e2689 (diff) | |
download | linux-a6282d170339f86e05fd24bdf3104ca644a4b3a4.tar.xz |
hwmon: (ltc2990) Fix incorrect conversion of negative temperatures
Fix incorrect conversion of negative temperatures by using
sign_extend32() instead of a home-grown conversion function.
Fixes: df922703574e ("hwmon: Add LTC2990 sensor driver")
Signed-off-by: Tom Levens <tom.levens@cern.ch>
[groeck: Updated subject and description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/hwmon-vid.c')
0 files changed, 0 insertions, 0 deletions