aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/ab8500_chargalg.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-07-13 17:27:07 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-07-16 15:14:30 +0200
commit484a9cc3dcb867813fca62f6443c1e77a1ae3c27 (patch)
treedc7d70b5affa0c49e9a235e594a0a8a92b57909a /drivers/power/supply/ab8500_chargalg.c
parentpower: supply: ab8500: Rename charging algorithm symbols (diff)
downloadlinux-dev-484a9cc3dcb867813fca62f6443c1e77a1ae3c27.tar.xz
linux-dev-484a9cc3dcb867813fca62f6443c1e77a1ae3c27.zip
power: supply: ab8500: Drop abx500 concept
Drop the entire idea with abx500 being abstract and different from ab8500 in the AB8500 charging drivers. This rids the two identical definitions of a slew of structs in ab8500-bm.h and makes things less confusion and easier to understand. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/ab8500_chargalg.c')
-rw-r--r--drivers/power/supply/ab8500_chargalg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/ab8500_chargalg.c b/drivers/power/supply/ab8500_chargalg.c
index b0bbb1c4b83a..8dd66eb18fd5 100644
--- a/drivers/power/supply/ab8500_chargalg.c
+++ b/drivers/power/supply/ab8500_chargalg.c
@@ -249,7 +249,7 @@ struct ab8500_chargalg {
struct ab8500_chargalg_suspension_status susp_status;
struct ab8500 *parent;
struct ab8500_chargalg_current_step_status curr_status;
- struct abx500_bm_data *bm;
+ struct ab8500_bm_data *bm;
struct power_supply *chargalg_psy;
struct ux500_charger *ac_chg;
struct ux500_charger *usb_chg;