summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-11 09:17:59 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-18 19:36:48 +0100
commit0a8686e3090c4a2d21049fccc9466c9d3d312ba6 (patch)
tree1b6515d6dab210aaa2354e434ed9b87e148b720f /drivers/power/supply/Kconfig
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlinux-stable-0a8686e3090c4a2d21049fccc9466c9d3d312ba6.tar.gz
linux-stable-0a8686e3090c4a2d21049fccc9466c9d3d312ba6.tar.bz2
linux-stable-0a8686e3090c4a2d21049fccc9466c9d3d312ba6.zip
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>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index c84a7b1caeb6..27164a1d3c7c 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -629,7 +629,7 @@ config BATTERY_GAUGE_LTC2941
config AB8500_BM
bool "AB8500 Battery Management Driver"
- depends on AB8500_CORE && AB8500_GPADC
+ depends on AB8500_CORE && AB8500_GPADC && (IIO = y)
help
Say Y to include support for AB8500 battery management.