iio: adc: max9611: Fix attribute measure unit
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 9 May 2017 07:57:57 +0000 (09:57 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 May 2017 15:38:55 +0000 (16:38 +0100)
commitc54517196811b0561079833c147083ab2c9cc5e1
tree750b3ddd48c5d3cb4f4c38fe6dccaa0d72e8fcf9
parent5ba5b437efaa7a502eec393c045d3bf90c92c4e9
iio: adc: max9611: Fix attribute measure unit

The power and current "shunt-resistor" attribute's 'show' function
displays the resistor value in milli-Ohms, while the ABI description
specifies it should be displayed in Ohms. Fix it.

Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/max9611.c