diff options
author | Jared Bents <jared.bents@rockwellcollins.com> | 2016-11-18 22:20:38 -0600 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-12-02 13:28:04 -0800 |
commit | 4538bfbf2d9f1fc48c07ac0cc0ee58716fe7fe96 (patch) | |
tree | 56dc2bf52fe69a3e7df4fbcbea13855ed73d67e1 /drivers/hwmon/Kconfig | |
parent | 13edb767aa609b6efb7c0c2b57fbd72a6ded0eed (diff) | |
download | blackbird-obmc-linux-4538bfbf2d9f1fc48c07ac0cc0ee58716fe7fe96.tar.gz blackbird-obmc-linux-4538bfbf2d9f1fc48c07ac0cc0ee58716fe7fe96.zip |
hwmon: (amc6821) sign extension temperature
Converts the unsigned temperature values from the i2c read
to be sign extended as defined in the datasheet so that
negative temperatures are properly read.
Fixes: 28e6274d8fa67 ("hwmon: (amc6821) Avoid forward declaration")
Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[groeck: Dropped unnecessary continuation line]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions