diff options
Diffstat (limited to 'drivers/power/pm2301_charger.c')
-rw-r--r-- | drivers/power/pm2301_charger.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index fde5805fdab0..87ddc658413f 100644 --- a/drivers/power/pm2301_charger.c +++ b/drivers/power/pm2301_charger.c | |||
@@ -16,16 +16,12 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | #include <linux/power_supply.h> | 18 | #include <linux/power_supply.h> |
19 | #include <linux/completion.h> | ||
20 | #include <linux/regulator/consumer.h> | 19 | #include <linux/regulator/consumer.h> |
21 | #include <linux/err.h> | 20 | #include <linux/err.h> |
22 | #include <linux/i2c.h> | 21 | #include <linux/i2c.h> |
23 | #include <linux/workqueue.h> | 22 | #include <linux/workqueue.h> |
24 | #include <linux/kobject.h> | ||
25 | #include <linux/mfd/abx500.h> | ||
26 | #include <linux/mfd/abx500/ab8500.h> | 23 | #include <linux/mfd/abx500/ab8500.h> |
27 | #include <linux/mfd/abx500/ab8500-bm.h> | 24 | #include <linux/mfd/abx500/ab8500-bm.h> |
28 | #include <linux/mfd/abx500/ab8500-gpadc.h> | ||
29 | #include <linux/mfd/abx500/ux500_chargalg.h> | 25 | #include <linux/mfd/abx500/ux500_chargalg.h> |
30 | #include <linux/pm2301_charger.h> | 26 | #include <linux/pm2301_charger.h> |
31 | #include <linux/gpio.h> | 27 | #include <linux/gpio.h> |
@@ -1018,7 +1014,6 @@ static int pm2xxx_wall_charger_probe(struct i2c_client *i2c_client, | |||
1018 | 1014 | ||
1019 | /* get parent data */ | 1015 | /* get parent data */ |
1020 | pm2->dev = &i2c_client->dev; | 1016 | pm2->dev = &i2c_client->dev; |
1021 | pm2->gpadc = ab8500_gpadc_get("ab8500-gpadc.0"); | ||
1022 | 1017 | ||
1023 | pm2->pm2_int = &pm2xxx_int; | 1018 | pm2->pm2_int = &pm2xxx_int; |
1024 | 1019 | ||