diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-03-12 09:36:03 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-03-22 15:55:51 +0100 |
commit | a65aa0ce23bd3bc29c9f3a6a90fe032e1dbd8f34 (patch) | |
tree | 52df88ce2030dc48f1464fc0b4a348c3900efef8 /drivers/power/supply/ab8500_charger.c | |
parent | mfd/power: ab8500: Push data to power supply code (diff) | |
download | linux-a65aa0ce23bd3bc29c9f3a6a90fe032e1dbd8f34.tar.xz linux-a65aa0ce23bd3bc29c9f3a6a90fe032e1dbd8f34.zip |
mfd/power: ab8500: Push algorithm to power supply code
The charging algorithm header is only used locally in the
power supply subsystem so push this down into
drivers/power/supply and rename from the confusing
"ux500_chargalg.h" to "ab8500-chargalg.h" for clarity:
it is only used with the AB8500.
This is another remnant of non-DT code needing to pass
data from boardfiles, which we don't do anymore.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/power/supply/ab8500_charger.c')
-rw-r--r-- | drivers/power/supply/ab8500_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c index 50989a5ec95c..a9be10eb2c22 100644 --- a/drivers/power/supply/ab8500_charger.c +++ b/drivers/power/supply/ab8500_charger.c @@ -28,12 +28,12 @@ #include <linux/mfd/core.h> #include <linux/mfd/abx500/ab8500.h> #include <linux/mfd/abx500.h> -#include <linux/mfd/abx500/ux500_chargalg.h> #include <linux/usb/otg.h> #include <linux/mutex.h> #include <linux/iio/consumer.h> #include "ab8500-bm.h" +#include "ab8500-chargalg.h" /* Charger constants */ #define NO_PW_CONN 0 |