diff options
Diffstat (limited to 'drivers/power/wm97xx_battery.c')
-rw-r--r-- | drivers/power/wm97xx_battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c index e128a813dc24..58f7348e6c22 100644 --- a/drivers/power/wm97xx_battery.c +++ b/drivers/power/wm97xx_battery.c | |||
@@ -162,7 +162,7 @@ static const struct dev_pm_ops wm97xx_bat_pm_ops = { | |||
162 | }; | 162 | }; |
163 | #endif | 163 | #endif |
164 | 164 | ||
165 | static int __devinit wm97xx_bat_probe(struct platform_device *dev) | 165 | static int wm97xx_bat_probe(struct platform_device *dev) |
166 | { | 166 | { |
167 | int ret = 0; | 167 | int ret = 0; |
168 | int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ | 168 | int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ |
@@ -263,7 +263,7 @@ err: | |||
263 | return ret; | 263 | return ret; |
264 | } | 264 | } |
265 | 265 | ||
266 | static int __devexit wm97xx_bat_remove(struct platform_device *dev) | 266 | static int wm97xx_bat_remove(struct platform_device *dev) |
267 | { | 267 | { |
268 | struct wm97xx_pdata *wmdata = dev->dev.platform_data; | 268 | struct wm97xx_pdata *wmdata = dev->dev.platform_data; |
269 | struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; | 269 | struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; |
@@ -287,7 +287,7 @@ static struct platform_driver wm97xx_bat_driver = { | |||
287 | #endif | 287 | #endif |
288 | }, | 288 | }, |
289 | .probe = wm97xx_bat_probe, | 289 | .probe = wm97xx_bat_probe, |
290 | .remove = __devexit_p(wm97xx_bat_remove), | 290 | .remove = wm97xx_bat_remove, |
291 | }; | 291 | }; |
292 | 292 | ||
293 | module_platform_driver(wm97xx_bat_driver); | 293 | module_platform_driver(wm97xx_bat_driver); |