aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/olpc_battery.c')
-rw-r--r--drivers/power/olpc_battery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index a89a41acf9c5..1ec810ada5ed 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -598,7 +598,7 @@ static int olpc_battery_suspend(struct platform_device *pdev,
598 return 0; 598 return 0;
599} 599}
600 600
601static int __devinit olpc_battery_probe(struct platform_device *pdev) 601static int olpc_battery_probe(struct platform_device *pdev)
602{ 602{
603 int ret; 603 int ret;
604 uint8_t status; 604 uint8_t status;
@@ -659,7 +659,7 @@ battery_failed:
659 return ret; 659 return ret;
660} 660}
661 661
662static int __devexit olpc_battery_remove(struct platform_device *pdev) 662static int olpc_battery_remove(struct platform_device *pdev)
663{ 663{
664 device_remove_file(olpc_bat.dev, &olpc_bat_error); 664 device_remove_file(olpc_bat.dev, &olpc_bat_error);
665 device_remove_bin_file(olpc_bat.dev, &olpc_bat_eeprom); 665 device_remove_bin_file(olpc_bat.dev, &olpc_bat_eeprom);
@@ -668,7 +668,7 @@ static int __devexit olpc_battery_remove(struct platform_device *pdev)
668 return 0; 668 return 0;
669} 669}
670 670
671static const struct of_device_id olpc_battery_ids[] __devinitconst = { 671static const struct of_device_id olpc_battery_ids[] = {
672 { .compatible = "olpc,xo1-battery" }, 672 { .compatible = "olpc,xo1-battery" },
673 {} 673 {}
674}; 674};
@@ -681,7 +681,7 @@ static struct platform_driver olpc_battery_driver = {
681 .of_match_table = olpc_battery_ids, 681 .of_match_table = olpc_battery_ids,
682 }, 682 },
683 .probe = olpc_battery_probe, 683 .probe = olpc_battery_probe,
684 .remove = __devexit_p(olpc_battery_remove), 684 .remove = olpc_battery_remove,
685 .suspend = olpc_battery_suspend, 685 .suspend = olpc_battery_suspend,
686}; 686};
687 687