summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/tc654.c
diff options
context:
space:
mode:
authorJared Bents <jared.bents@rockwellcollins.com>2016-11-19 05:20:38 +0100
committerGuenter Roeck <linux@roeck-us.net>2016-12-02 22:28:04 +0100
commit4538bfbf2d9f1fc48c07ac0cc0ee58716fe7fe96 (patch)
tree56dc2bf52fe69a3e7df4fbcbea13855ed73d67e1 /drivers/hwmon/tc654.c
parenthwmon: (scpi) Fix module autoload (diff)
downloadlinux-4538bfbf2d9f1fc48c07ac0cc0ee58716fe7fe96.tar.xz
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/tc654.c')
0 files changed, 0 insertions, 0 deletions