]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83795) Properly handle negative temperatures
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
commit1205a951353ad76db0599db028d24e78a59f9721
tree9be7c4c8f1b35526c5b8357e25ccb5e8e99eaff9
parent99e085c8d2deb33fef49e18897c69c3b2bae3a77
hwmon: (w83795) Properly handle negative temperatures

The temperature registers hold regular 2's complement values, no need
to add any arithmetics.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c