power: supply: ab8500: Standardize termination current
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Nov 2021 15:53:21 +0000 (16:53 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 22 Nov 2021 16:16:25 +0000 (17:16 +0100)
commit9c20899da46b85ed00e6f3b935b4bd9c9b34a571
tree0a751c5bae9acf6ddb4010100ffb5e3e80992867
parent50425ccf2467db9f4134a60a95ef6b6a580222cb
power: supply: ab8500: Standardize termination current

The AB8500 custom termination current can be replaced by the
corresponding struct power_supply_battery_info field.

Remove the struct member and amend the code to use the
standard property.

Add *_ua suffix for clarity and to make sure we have
changed all code sites using this member.

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_chargalg.c