power: supply: ab8500_btemp: Convert to IIO ADC
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Oct 2019 07:17:59 +0000 (09:17 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Oct 2019 18:36:48 +0000 (19:36 +0100)
commit0a8686e3090c4a2d21049fccc9466c9d3d312ba6
tree1b6515d6dab210aaa2354e434ed9b87e148b720f
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
power: supply: ab8500_btemp: Convert to IIO ADC

This switches the AB8500 battery temperature 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/Kconfig
drivers/power/supply/ab8500_btemp.c