aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/gpio-charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/gpio-charger.c')
-rw-r--r--drivers/power/gpio-charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index cb2aa3195687..e3e40a9f3af2 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -68,7 +68,7 @@ static enum power_supply_property gpio_charger_properties[] = {
68 POWER_SUPPLY_PROP_ONLINE, 68 POWER_SUPPLY_PROP_ONLINE,
69}; 69};
70 70
71static int __devinit gpio_charger_probe(struct platform_device *pdev) 71static int gpio_charger_probe(struct platform_device *pdev)
72{ 72{
73 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data; 73 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data;
74 struct gpio_charger *gpio_charger; 74 struct gpio_charger *gpio_charger;
@@ -144,7 +144,7 @@ err_free:
144 return ret; 144 return ret;
145} 145}
146 146
147static int __devexit gpio_charger_remove(struct platform_device *pdev) 147static int gpio_charger_remove(struct platform_device *pdev)
148{ 148{
149 struct gpio_charger *gpio_charger = platform_get_drvdata(pdev); 149 struct gpio_charger *gpio_charger = platform_get_drvdata(pdev);
150 150
@@ -177,7 +177,7 @@ static SIMPLE_DEV_PM_OPS(gpio_charger_pm_ops, NULL, gpio_charger_resume);
177 177
178static struct platform_driver gpio_charger_driver = { 178static struct platform_driver gpio_charger_driver = {
179 .probe = gpio_charger_probe, 179 .probe = gpio_charger_probe,
180 .remove = __devexit_p(gpio_charger_remove), 180 .remove = gpio_charger_remove,
181 .driver = { 181 .driver = {
182 .name = "gpio-charger", 182 .name = "gpio-charger",
183 .owner = THIS_MODULE, 183 .owner = THIS_MODULE,