power: supply: ab8500_fg: Convert to IIO ADC
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Oct 2019 07:18:01 +0000 (09:18 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Oct 2019 18:37:03 +0000 (19:37 +0100)
commit1e82623c3ca6f58a40c8ffbbbc4cfd3f102a04cc
treeb700fdaaf532c81c032fb479b5889ae8ee8a30f9
parent97ab78bac5d0d2d5eec68278d4c1810056388189
power: supply: ab8500_fg: Convert to IIO ADC

This switches the AB8500 fuel gauge driver to using
the standard IIO ADC channel lookup and conversion routines.

Acked-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/power/supply/ab8500_fg.c