summaryrefslogtreecommitdiff
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>2020-05-08 18:44:45 +0300
committerSebastian Reichel <sre@kernel.org>2020-05-10 02:35:46 +0200
commit92f7d909720e188bf5ce411dc2ebdb8049c855b1 (patch)
tree7262316ca98100cd988f84585cddc56c42aac646 /drivers/power/supply/Kconfig
parentbf584e4dbd5bac7b1aaddbd33a7116364f919819 (diff)
power: supply: bd70528: use linear ranges
Change the bd70528 to use common linear_range code instead of implementing a copy of it in this driver. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index efdcf49f27bf..9448d6c66cae 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -706,6 +706,7 @@ config CHARGER_UCS1002
config CHARGER_BD70528
tristate "ROHM bd70528 charger driver"
depends on MFD_ROHM_BD70528
+ select LINEAR_RANGES
default n
help
Say Y here to enable support for getting battery status