diff options
Diffstat (limited to 'drivers/power/generic-adc-battery.c')
-rw-r--r-- | drivers/power/generic-adc-battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c index 9bdf44470396..e902b088d52c 100644 --- a/drivers/power/generic-adc-battery.c +++ b/drivers/power/generic-adc-battery.c | |||
@@ -236,7 +236,7 @@ static irqreturn_t gab_charged(int irq, void *dev_id) | |||
236 | return IRQ_HANDLED; | 236 | return IRQ_HANDLED; |
237 | } | 237 | } |
238 | 238 | ||
239 | static int __devinit gab_probe(struct platform_device *pdev) | 239 | static int gab_probe(struct platform_device *pdev) |
240 | { | 240 | { |
241 | struct gab *adc_bat; | 241 | struct gab *adc_bat; |
242 | struct power_supply *psy; | 242 | struct power_supply *psy; |
@@ -351,7 +351,7 @@ first_mem_fail: | |||
351 | return ret; | 351 | return ret; |
352 | } | 352 | } |
353 | 353 | ||
354 | static int __devexit gab_remove(struct platform_device *pdev) | 354 | static int gab_remove(struct platform_device *pdev) |
355 | { | 355 | { |
356 | int chan; | 356 | int chan; |
357 | struct gab *adc_bat = platform_get_drvdata(pdev); | 357 | struct gab *adc_bat = platform_get_drvdata(pdev); |
@@ -413,7 +413,7 @@ static struct platform_driver gab_driver = { | |||
413 | .pm = GAB_PM_OPS | 413 | .pm = GAB_PM_OPS |
414 | }, | 414 | }, |
415 | .probe = gab_probe, | 415 | .probe = gab_probe, |
416 | .remove = __devexit_p(gab_remove), | 416 | .remove = gab_remove, |
417 | }; | 417 | }; |
418 | module_platform_driver(gab_driver); | 418 | module_platform_driver(gab_driver); |
419 | 419 | ||