hwmon: (ina209) Handled signed registers
authorJoe Schaack <jschaack@xes-inc.com>
Tue, 18 Apr 2017 12:15:50 +0000 (07:15 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 21 Apr 2017 19:30:09 +0000 (12:30 -0700)
commitbdaf9c40b2d1d67617b259c59ce1858eda54b4ce
tree2126071904a9252f1d2bea87cfc61e3631786ff2
parenta02c24a321583e7970393488834501e15a69b656
hwmon: (ina209) Handled signed registers

The shunt voltage and current registers are signed 16-bit values so
handle them as such.

Signed-off-by: Joe Schaack <jschaack@xes-inc.com>
Reviewed-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina209.c