aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max8998_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/max8998_charger.c')
-rw-r--r--drivers/power/max8998_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index 1db13638ef7f..9f34c80f358c 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -75,7 +75,7 @@ static int max8998_battery_get_property(struct power_supply *psy,
75 return 0; 75 return 0;
76} 76}
77 77
78static __devinit int max8998_battery_probe(struct platform_device *pdev) 78static int max8998_battery_probe(struct platform_device *pdev)
79{ 79{
80 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent); 80 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent);
81 struct max8998_platform_data *pdata = dev_get_platdata(iodev->dev); 81 struct max8998_platform_data *pdata = dev_get_platdata(iodev->dev);