iio: adc: ina2xx: Use LSB specifier instead of divider in config
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 28 Oct 2017 21:12:47 +0000 (23:12 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Dec 2017 10:40:17 +0000 (10:40 +0000)
commit2d8119d752d4fe794d768b0c42cdf6cf14b37bcc
tree34c2a896d3cd7bb96efbdbaa45e142c5974caffa
parent2e64438487697f3f099946edc8acd4ceea6b1ab2
iio: adc: ina2xx: Use LSB specifier instead of divider in config

While the config uses the physical value corresponding to the LSB
for both the power and the bus voltage register, the shunt voltage is
specified as parts of 1 mV. Use the LSB physical value for all registers.

No functional change.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ina2xx-adc.c