power: supply: bd70528: use linear ranges
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Fri, 8 May 2020 15:44:45 +0000 (18:44 +0300)
committerSebastian Reichel <sre@kernel.org>
Sun, 10 May 2020 00:35:46 +0000 (02:35 +0200)
commit92f7d909720e188bf5ce411dc2ebdb8049c855b1
tree7262316ca98100cd988f84585cddc56c42aac646
parentbf584e4dbd5bac7b1aaddbd33a7116364f919819
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>
drivers/power/supply/Kconfig
drivers/power/supply/bd70528-charger.c