aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max8925_power.c
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-12-12 01:15:57 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-12-12 01:15:57 -0500
commit76d8a23b127020472207b281427d3e9f4f1227e4 (patch)
treee14d7063d96d850fb259115d6fb08cbeb98ccf88 /drivers/power/max8925_power.c
parenteba3b670a9166a91be5a11fe33290dca6b9457a2 (diff)
parent1ebaf4f4e6912199f8a4e30ba3ab55da2b71bcdf (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
The merge is merely to fix conflicts before sending a pull request. Conflicts: drivers/power/ab8500_btemp.c drivers/power/ab8500_charger.c drivers/power/ab8500_fg.c drivers/power/abx500_chargalg.c drivers/power/max8925_power.c Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/max8925_power.c')
-rw-r--r--drivers/power/max8925_power.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c
index b5a3ccb16a14..665cdc76c265 100644
--- a/drivers/power/max8925_power.c
+++ b/drivers/power/max8925_power.c
@@ -357,7 +357,7 @@ do { \
357 _irq, ret); \ 357 _irq, ret); \
358} while (0) 358} while (0)
359 359
360static __devinit int max8925_init_charger(struct max8925_chip *chip, 360static int max8925_init_charger(struct max8925_chip *chip,
361 struct max8925_power_info *info) 361 struct max8925_power_info *info)
362{ 362{
363 int ret; 363 int ret;
@@ -415,7 +415,7 @@ static __devinit int max8925_init_charger(struct max8925_chip *chip,
415 return 0; 415 return 0;
416} 416}
417 417
418static __devexit int max8925_deinit_charger(struct max8925_power_info *info) 418static int max8925_deinit_charger(struct max8925_power_info *info)
419{ 419{
420 struct max8925_chip *chip = info->chip; 420 struct max8925_chip *chip = info->chip;
421 int irq; 421 int irq;
@@ -475,7 +475,7 @@ max8925_power_dt_init(struct platform_device *pdev)
475} 475}
476#endif 476#endif
477 477
478static __devinit int max8925_power_probe(struct platform_device *pdev) 478static int max8925_power_probe(struct platform_device *pdev)
479{ 479{
480 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); 480 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
481 struct max8925_power_pdata *pdata = NULL; 481 struct max8925_power_pdata *pdata = NULL;
@@ -550,7 +550,7 @@ out:
550 return ret; 550 return ret;
551} 551}
552 552
553static __devexit int max8925_power_remove(struct platform_device *pdev) 553static int max8925_power_remove(struct platform_device *pdev)
554{ 554{
555 struct max8925_power_info *info = platform_get_drvdata(pdev); 555 struct max8925_power_info *info = platform_get_drvdata(pdev);
556 556
@@ -566,7 +566,7 @@ static __devexit int max8925_power_remove(struct platform_device *pdev)
566 566
567static struct platform_driver max8925_power_driver = { 567static struct platform_driver max8925_power_driver = {
568 .probe = max8925_power_probe, 568 .probe = max8925_power_probe,
569 .remove = __devexit_p(max8925_power_remove), 569 .remove = max8925_power_remove,
570 .driver = { 570 .driver = {
571 .name = "max8925-power", 571 .name = "max8925-power",
572 }, 572 },