]> git.baikalelectronics.ru Git - kernel.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)
commit9735a8cfc91542c1ac9aa081ba82db6306b7bded
tree8aabd7f60d7a6ccfc62beb37356180c37f7b64e0
parentb2611b856d932ead0d965841645800f6dbb81884
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