hwmon: (ina2xx) fix sysfs shunt resistor read access
authorLothar Felten <lothar.felten@gmail.com>
Tue, 14 Aug 2018 07:09:37 +0000 (09:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 27 Aug 2018 00:45:25 +0000 (17:45 -0700)
commit3ad867001c91657c46dcf6656d52eb6080286fd5
tree0a056e052a159ea521733b542b9551b412db44ec
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
hwmon: (ina2xx) fix sysfs shunt resistor read access

fix the sysfs shunt resistor read access: return the shunt resistor
value, not the calibration register contents.

update email address

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/ina2xx
drivers/hwmon/ina2xx.c
include/linux/platform_data/ina2xx.h