diff options
Diffstat (limited to 'drivers/power/intel_mid_battery.c')
-rw-r--r-- | drivers/power/intel_mid_battery.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index d09649706bd3..18d136b443ee 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c | |||
@@ -649,7 +649,7 @@ static void pmic_battery_handle_intrpt(struct work_struct *work) | |||
649 | * PMIC battery initializes its internal data structue and other | 649 | * PMIC battery initializes its internal data structue and other |
650 | * infrastructure components for it to work as expected. | 650 | * infrastructure components for it to work as expected. |
651 | */ | 651 | */ |
652 | static __devinit int probe(int irq, struct device *dev) | 652 | static int probe(int irq, struct device *dev) |
653 | { | 653 | { |
654 | int retval = 0; | 654 | int retval = 0; |
655 | struct pmic_power_module_info *pbi; | 655 | struct pmic_power_module_info *pbi; |
@@ -739,7 +739,7 @@ wqueue_failed: | |||
739 | return retval; | 739 | return retval; |
740 | } | 740 | } |
741 | 741 | ||
742 | static int __devinit platform_pmic_battery_probe(struct platform_device *pdev) | 742 | static int platform_pmic_battery_probe(struct platform_device *pdev) |
743 | { | 743 | { |
744 | return probe(pdev->id, &pdev->dev); | 744 | return probe(pdev->id, &pdev->dev); |
745 | } | 745 | } |
@@ -754,7 +754,7 @@ static int __devinit platform_pmic_battery_probe(struct platform_device *pdev) | |||
754 | * pmic_battery_probe. | 754 | * pmic_battery_probe. |
755 | */ | 755 | */ |
756 | 756 | ||
757 | static int __devexit platform_pmic_battery_remove(struct platform_device *pdev) | 757 | static int platform_pmic_battery_remove(struct platform_device *pdev) |
758 | { | 758 | { |
759 | struct pmic_power_module_info *pbi = dev_get_drvdata(&pdev->dev); | 759 | struct pmic_power_module_info *pbi = dev_get_drvdata(&pdev->dev); |
760 | 760 | ||
@@ -776,7 +776,7 @@ static struct platform_driver platform_pmic_battery_driver = { | |||
776 | .owner = THIS_MODULE, | 776 | .owner = THIS_MODULE, |
777 | }, | 777 | }, |
778 | .probe = platform_pmic_battery_probe, | 778 | .probe = platform_pmic_battery_probe, |
779 | .remove = __devexit_p(platform_pmic_battery_remove), | 779 | .remove = platform_pmic_battery_remove, |
780 | }; | 780 | }; |
781 | 781 | ||
782 | module_platform_driver(platform_pmic_battery_driver); | 782 | module_platform_driver(platform_pmic_battery_driver); |