summaryrefslogtreecommitdiff
path: root/drivers/hwmon/hwmon-vid.c
diff options
context:
space:
mode:
authorTom Levens <tom.levens@cern.ch>2017-07-03 07:28:58 +0300
committerGuenter Roeck <linux@roeck-us.net>2018-05-21 17:52:00 +0300
commita6282d170339f86e05fd24bdf3104ca644a4b3a4 (patch)
tree2540ca650a1368e51f40914d3df8f0d156453224 /drivers/hwmon/hwmon-vid.c
parent59df4f4e8e0b9a0abb14ad5128d36d844c3e2689 (diff)
downloadlinux-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