]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83627ehf) Better fix for negative temperature values
authorJean Delvare <khali@linux-fr.org>
Thu, 20 Oct 2011 07:13:31 +0000 (03:13 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 24 Oct 2011 18:09:48 +0000 (11:09 -0700)
commit09c208a62b5291751d0795804282ed2f0d0f39a3
tree64a01f41edbcbbcbb8c22f271c02a57c538fbf04
parenta71a5b4b4318d3635a887bca4b834ff0022323bd
hwmon: (w83627ehf) Better fix for negative temperature values

It is more efficient to left-align 8-bit temperature values, so that
8-bit and 9-bit temperature values can be handled exactly the same way
in the rest of the code.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83627ehf.c