[PATCH v2] hwmon: (amc6821) sign extension temperature

2016-11-18 Thread Matt Weber
From: Jared Bents <jared.be...@rockwellcollins.com> 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. Signed-off-by: Jared Bents <jared.be...@rockwellcollins.com> Signed-off-by

[PATCH] hwmon: (amc6821) sign extension temperature

2016-11-16 Thread Matt Weber
From: Jared Bents <jared.be...@rockwellcollins.com> 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. Signed-off-by: Jared Bents <jared.be...@rockwellcollins.com> Signed-off-by