hwmon: (ds620) Fix handling of negative temperatures
authorRoland Stigge <stigge@antcom.de>
Wed, 21 Sep 2011 17:06:11 +0000 (13:06 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 22 Sep 2011 00:25:18 +0000 (17:25 -0700)
commitcc41d586e8b4d76164fe7731c1c49be6cc5fc7e6
treea8d3af8d3b44d0cc54cd663553da3659f7191fca
parent7cbe1ceeb6ab2e4bc334b3dab3254d4414b72a23
hwmon: (ds620) Fix handling of negative temperatures

Signed (negative) temperatures were not handled correctly.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@kernel.org # v2.6.38+
drivers/hwmon/ds620.c