hwmon: (it87) Properly decode -128 degrees C temperature
commitf14b7f8d566e929aba7db0abf87f5e61420eb7d5
authorJean Delvare <khali@linux-fr.org>
Fri, 13 Mar 2009 12:34:04 +0000 (13 13:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:53:07 +0000 (16 17:53 -0700)
treee8600b6af918a1c8185ea74cb23a290c8569c843
parent187203ae140ba1f2b617c3e9671f9e1fcb125a68
hwmon: (it87) Properly decode -128 degrees C temperature

commit e267d25005c861fe6afda343f044536342c9f8b4 upstream

The it87 driver is reporting -128 degrees C as +128 degrees C.
That's not a terribly likely temperature value but let's still
get it right, especially when it simplifies the code.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c