]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68141eb4dadb520495bebc09157ecdaa091c702f
tree0a056e052a159ea521733b542b9551b412db44ec
parentf030a7bb7b1f7de16c1c716a587185e209e25800
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