aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2781_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/ds2781_battery.c')
-rw-r--r--drivers/power/ds2781_battery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c
index 22b3c8c93552..0a5acc6fc6f0 100644
--- a/drivers/power/ds2781_battery.c
+++ b/drivers/power/ds2781_battery.c
@@ -750,7 +750,7 @@ static const struct attribute_group ds2781_attr_group = {
750 .attrs = ds2781_attributes, 750 .attrs = ds2781_attributes,
751}; 751};
752 752
753static int __devinit ds2781_battery_probe(struct platform_device *pdev) 753static int ds2781_battery_probe(struct platform_device *pdev)
754{ 754{
755 int ret = 0; 755 int ret = 0;
756 struct ds2781_device_info *dev_info; 756 struct ds2781_device_info *dev_info;
@@ -810,7 +810,7 @@ fail:
810 return ret; 810 return ret;
811} 811}
812 812
813static int __devexit ds2781_battery_remove(struct platform_device *pdev) 813static int ds2781_battery_remove(struct platform_device *pdev)
814{ 814{
815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev); 815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev);
816 816
@@ -827,7 +827,7 @@ static struct platform_driver ds2781_battery_driver = {
827 .name = "ds2781-battery", 827 .name = "ds2781-battery",
828 }, 828 },
829 .probe = ds2781_battery_probe, 829 .probe = ds2781_battery_probe,
830 .remove = __devexit_p(ds2781_battery_remove), 830 .remove = ds2781_battery_remove,
831}; 831};
832module_platform_driver(ds2781_battery_driver); 832module_platform_driver(ds2781_battery_driver);
833 833