]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: ina2xx: re-instate a sysfs show/store for the shunt resistor value
authorMarc Titinger <mtitinger@baylibre.com>
Fri, 11 Dec 2015 16:49:15 +0000 (17:49 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Dec 2015 16:08:13 +0000 (16:08 +0000)
commitb17dc40155a973d0da68b54184dd9c237426c426
treeeb4328b1c3ff90f9ad384ed1f9288a42f7012bef
parentf9993c0771ce24063fe62bf73ac57bcfc9ad81de
iio: ina2xx: re-instate a sysfs show/store for the shunt resistor value

Different probe modules use different resistor values. The front-end
application may read a probe ID (from eeprom) and set the shunt value
accordingly.

Signed-off-by: Marc Titinger <mtitinger@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ina2xx-adc.c