summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-10-01 21:48:17 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-10-09 20:51:01 +0100
commit103f3afe91858a7c3b9115e197ddaa0cb63dbdf2 (patch)
treec6dcfab5a83c819407cf2e3abaa5a13fde03789b /drivers/staging/iio
parent92617c158ae42b4bcedd7c1d7e0f7b6af8f30c38 (diff)
downloadlinux-stable-103f3afe91858a7c3b9115e197ddaa0cb63dbdf2.tar.gz
linux-stable-103f3afe91858a7c3b9115e197ddaa0cb63dbdf2.tar.bz2
linux-stable-103f3afe91858a7c3b9115e197ddaa0cb63dbdf2.zip
iio: adc: ina2xx: Adhere to documented ABI, use Ohm instead of uOhm
According to the ABI documentation, the shunt resistor value should be specificied in Ohm. As this is also used/documented for the MAX9611, use the same for the INA2xx driver. This poses an ABI break for anyone actually altering the shunt value through the sysfs interface, it does not alter the default value nor a value set from the devicetree. Minor change: Fix comment, 1mA is 10^-3A. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions