aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/wm8350_power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/wm8350_power.c')
-rw-r--r--drivers/power/wm8350_power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/wm8350_power.c b/drivers/power/wm8350_power.c
index fae04d384657..b3607e2906d2 100644
--- a/drivers/power/wm8350_power.c
+++ b/drivers/power/wm8350_power.c
@@ -442,7 +442,7 @@ static void free_charger_irq(struct wm8350 *wm8350)
442 wm8350_free_irq(wm8350, WM8350_IRQ_EXT_BAT_FB, wm8350); 442 wm8350_free_irq(wm8350, WM8350_IRQ_EXT_BAT_FB, wm8350);
443} 443}
444 444
445static __devinit int wm8350_power_probe(struct platform_device *pdev) 445static int wm8350_power_probe(struct platform_device *pdev)
446{ 446{
447 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 447 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
448 struct wm8350_power *power = &wm8350->power; 448 struct wm8350_power *power = &wm8350->power;
@@ -501,7 +501,7 @@ battery_failed:
501 return ret; 501 return ret;
502} 502}
503 503
504static __devexit int wm8350_power_remove(struct platform_device *pdev) 504static int wm8350_power_remove(struct platform_device *pdev)
505{ 505{
506 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 506 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
507 struct wm8350_power *power = &wm8350->power; 507 struct wm8350_power *power = &wm8350->power;
@@ -516,7 +516,7 @@ static __devexit int wm8350_power_remove(struct platform_device *pdev)
516 516
517static struct platform_driver wm8350_power_driver = { 517static struct platform_driver wm8350_power_driver = {
518 .probe = wm8350_power_probe, 518 .probe = wm8350_power_probe,
519 .remove = __devexit_p(wm8350_power_remove), 519 .remove = wm8350_power_remove,
520 .driver = { 520 .driver = {
521 .name = "wm8350-power", 521 .name = "wm8350-power",
522 }, 522 },