aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max8903_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/max8903_charger.c')
-rw-r--r--drivers/power/max8903_charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c
index 3e23f43e98af..14e2b96d93b0 100644
--- a/drivers/power/max8903_charger.c
+++ b/drivers/power/max8903_charger.c
@@ -179,7 +179,7 @@ static irqreturn_t max8903_fault(int irq, void *_data)
179 return IRQ_HANDLED; 179 return IRQ_HANDLED;
180} 180}
181 181
182static __devinit int max8903_probe(struct platform_device *pdev) 182static int max8903_probe(struct platform_device *pdev)
183{ 183{
184 struct max8903_data *data; 184 struct max8903_data *data;
185 struct device *dev = &pdev->dev; 185 struct device *dev = &pdev->dev;
@@ -345,7 +345,7 @@ err:
345 return ret; 345 return ret;
346} 346}
347 347
348static __devexit int max8903_remove(struct platform_device *pdev) 348static int max8903_remove(struct platform_device *pdev)
349{ 349{
350 struct max8903_data *data = platform_get_drvdata(pdev); 350 struct max8903_data *data = platform_get_drvdata(pdev);
351 351
@@ -367,7 +367,7 @@ static __devexit int max8903_remove(struct platform_device *pdev)
367 367
368static struct platform_driver max8903_driver = { 368static struct platform_driver max8903_driver = {
369 .probe = max8903_probe, 369 .probe = max8903_probe,
370 .remove = __devexit_p(max8903_remove), 370 .remove = max8903_remove,
371 .driver = { 371 .driver = {
372 .name = "max8903-charger", 372 .name = "max8903-charger",
373 .owner = THIS_MODULE, 373 .owner = THIS_MODULE,