power: supply: ab8500: Sink current tables into charger code
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Nov 2021 15:53:12 +0000 (16:53 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 22 Nov 2021 16:16:25 +0000 (17:16 +0100)
commit3aca6ecdab44b30e812001ab4de19b79001a3fbd
tree077fa1227f4eb962a51bf0dc0d62ebad4ef7824d
parent59f1b854706d4d6830a3ed0f6b535a2ba5d425a6
power: supply: ab8500: Sink current tables into charger code

The two tables for input and output current translation from
register values does not need to be passed around from the
battery manager data. Just push it down into the charger code
where it is used, like other tables in that code.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500-bm.h
drivers/power/supply/ab8500_bmdata.c
drivers/power/supply/ab8500_charger.c