]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6ab7e0ef45ab5bd778f408b657d56ab374ca750
tree077fa1227f4eb962a51bf0dc0d62ebad4ef7824d
parent52ad3d58524e8df25f3ba795a6f0572e639f2550
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