iio: ina2xx-adc: fix scale for VShunt
authorMarc Titinger <mtitinger@baylibre.com>
Fri, 11 Mar 2016 14:52:30 +0000 (15:52 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Apr 2016 10:13:59 +0000 (11:13 +0100)
commiteaa3476a7ee27c9927531781c8b25365d77e3030
treeaad04a7084c39b75550214c676e9252ef7df7256
parentd65113222c27e2ca0b292a5163ea294428d481b2
iio: ina2xx-adc: fix scale for VShunt

The scale would result in uV instead of expected mV.
Mostly cosmetic, since the value of 'Power' was computed OK.

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