OSDN Git Service

hwmon: ab8500: Convert to IIO ADC
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Oct 2019 07:18:02 +0000 (09:18 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Oct 2019 18:37:08 +0000 (19:37 +0100)
commitd17e86cb16e088336501bed1fdec45f705d85c5f
treec92b6353b4bcd65785d0c8688b6919439d76b7ab
parent1e82623c3ca6f58a40c8ffbbbc4cfd3f102a04cc
hwmon: ab8500: Convert to IIO ADC

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

Acked-by: Guenter Roeck <linux@roeck-us.net>
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/hwmon/Kconfig
drivers/hwmon/ab8500.c