summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/abx500/ux500_chargalg.h
diff options
context:
space:
mode:
authorLinus Walleij2018-03-22 11:24:35 +0100
committerSebastian Reichel2018-04-25 23:49:44 +0200
commit4c4268dc97c424cf6786c4ccc9acf345ba911987 (patch)
tree16a84a92469578846f0062451fa5150020947a74 /include/linux/mfd/abx500/ux500_chargalg.h
parentpower: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge" (diff)
downloadkernel-qcow2-linux-4c4268dc97c424cf6786c4ccc9acf345ba911987.tar.gz
kernel-qcow2-linux-4c4268dc97c424cf6786c4ccc9acf345ba911987.tar.xz
kernel-qcow2-linux-4c4268dc97c424cf6786c4ccc9acf345ba911987.zip
power: supply: ab8500: Drop AB8540/9540 support
The AB8540 was an evolved version of the AB8500, but it was never mass produced or put into products, only reference designs exist. The upstream support was never completed and it is unlikely that this will happen so drop the support for now to simplify maintenance of the AB8500. Cc: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/linux/mfd/abx500/ux500_chargalg.h')
-rw-r--r--include/linux/mfd/abx500/ux500_chargalg.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mfd/abx500/ux500_chargalg.h b/include/linux/mfd/abx500/ux500_chargalg.h
index 67703f23e7ba..669894f434f5 100644
--- a/include/linux/mfd/abx500/ux500_chargalg.h
+++ b/include/linux/mfd/abx500/ux500_chargalg.h
@@ -25,8 +25,6 @@ struct ux500_charger_ops {
int (*check_enable) (struct ux500_charger *, int, int);
int (*kick_wd) (struct ux500_charger *);
int (*update_curr) (struct ux500_charger *, int);
- int (*pp_enable) (struct ux500_charger *, bool);
- int (*pre_chg_enable) (struct ux500_charger *, bool);
};
/**
@@ -37,7 +35,6 @@ struct ux500_charger_ops {
* @max_out_curr maximum output charger current in mA
* @enabled indicates if this charger is used or not
* @external external charger unit (pm2xxx)
- * @power_path USB power path support
*/
struct ux500_charger {
struct power_supply *psy;
@@ -47,7 +44,6 @@ struct ux500_charger {
int wdt_refresh;
bool enabled;
bool external;
- bool power_path;
};
extern struct blocking_notifier_head charger_notifier_list;