diff options
Diffstat (limited to 'drivers/power/ds2780_battery.c')
-rw-r--r-- | drivers/power/ds2780_battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c index 74fad941c56c..8b6c4539e7f4 100644 --- a/drivers/power/ds2780_battery.c +++ b/drivers/power/ds2780_battery.c | |||
@@ -755,7 +755,7 @@ static const struct attribute_group ds2780_attr_group = { | |||
755 | .attrs = ds2780_attributes, | 755 | .attrs = ds2780_attributes, |
756 | }; | 756 | }; |
757 | 757 | ||
758 | static int __devinit ds2780_battery_probe(struct platform_device *pdev) | 758 | static int ds2780_battery_probe(struct platform_device *pdev) |
759 | { | 759 | { |
760 | int ret = 0; | 760 | int ret = 0; |
761 | struct ds2780_device_info *dev_info; | 761 | struct ds2780_device_info *dev_info; |
@@ -819,7 +819,7 @@ fail: | |||
819 | return ret; | 819 | return ret; |
820 | } | 820 | } |
821 | 821 | ||
822 | static int __devexit ds2780_battery_remove(struct platform_device *pdev) | 822 | static int ds2780_battery_remove(struct platform_device *pdev) |
823 | { | 823 | { |
824 | struct ds2780_device_info *dev_info = platform_get_drvdata(pdev); | 824 | struct ds2780_device_info *dev_info = platform_get_drvdata(pdev); |
825 | 825 | ||
@@ -837,7 +837,7 @@ static struct platform_driver ds2780_battery_driver = { | |||
837 | .name = "ds2780-battery", | 837 | .name = "ds2780-battery", |
838 | }, | 838 | }, |
839 | .probe = ds2780_battery_probe, | 839 | .probe = ds2780_battery_probe, |
840 | .remove = __devexit_p(ds2780_battery_remove), | 840 | .remove = ds2780_battery_remove, |
841 | }; | 841 | }; |
842 | 842 | ||
843 | module_platform_driver(ds2780_battery_driver); | 843 | module_platform_driver(ds2780_battery_driver); |