Skip to content
Commit a6282d17 authored by Tom Levens's avatar Tom Levens Committed by Guenter Roeck
Browse files

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: df922703 ("hwmon: Add LTC2990 sensor driver")
Signed-off-by: default avatarTom Levens <tom.levens@cern.ch>
[groeck: Updated subject and description]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 59df4f4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment