aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/88pm860x_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/88pm860x_charger.c')
-rw-r--r--drivers/power/88pm860x_charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c
index 2dbeb1460901..4b37a5af8deb 100644
--- a/drivers/power/88pm860x_charger.c
+++ b/drivers/power/88pm860x_charger.c
@@ -645,7 +645,7 @@ static struct pm860x_irq_desc {
645 { "vchg", pm860x_vchg_handler }, 645 { "vchg", pm860x_vchg_handler },
646}; 646};
647 647
648static __devinit int pm860x_charger_probe(struct platform_device *pdev) 648static int pm860x_charger_probe(struct platform_device *pdev)
649{ 649{
650 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); 650 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
651 struct pm860x_charger_info *info; 651 struct pm860x_charger_info *info;
@@ -718,7 +718,7 @@ out:
718 return ret; 718 return ret;
719} 719}
720 720
721static int __devexit pm860x_charger_remove(struct platform_device *pdev) 721static int pm860x_charger_remove(struct platform_device *pdev)
722{ 722{
723 struct pm860x_charger_info *info = platform_get_drvdata(pdev); 723 struct pm860x_charger_info *info = platform_get_drvdata(pdev);
724 int i; 724 int i;
@@ -738,7 +738,7 @@ static struct platform_driver pm860x_charger_driver = {
738 .owner = THIS_MODULE, 738 .owner = THIS_MODULE,
739 }, 739 },
740 .probe = pm860x_charger_probe, 740 .probe = pm860x_charger_probe,
741 .remove = __devexit_p(pm860x_charger_remove), 741 .remove = pm860x_charger_remove,
742}; 742};
743module_platform_driver(pm860x_charger_driver); 743module_platform_driver(pm860x_charger_driver);
744 744