]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (pmbus) Fix LINEAR16 data format
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 8 Mar 2011 02:34:50 +0000 (18:34 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:39:11 +0000 (22:39 -0700)
commit9f6ad1ce6484a92ef864e00611a8ef3daf9c986d
tree8aabd7f60d7a6ccfc62beb37356180c37f7b64e0
parent8677011a5d8e0358ce5ae26d82dfcddcad073c47
hwmon: (pmbus) Fix LINEAR16 data format

LINEAR16 data format is unsigned, not signed. Impact is that affected
attributes report negative values in the upper half of the supported
value range.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pmbus_core.c