aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/wm8350_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/wm8350_wdt.c')
-rw-r--r--drivers/watchdog/wm8350_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/wm8350_wdt.c b/drivers/watchdog/wm8350_wdt.c
index 3c76693447fd..34d272ada23d 100644
--- a/drivers/watchdog/wm8350_wdt.c
+++ b/drivers/watchdog/wm8350_wdt.c
@@ -140,7 +140,7 @@ static struct watchdog_device wm8350_wdt = {
140 .max_timeout = 4, 140 .max_timeout = 4,
141}; 141};
142 142
143static int __devinit wm8350_wdt_probe(struct platform_device *pdev) 143static int wm8350_wdt_probe(struct platform_device *pdev)
144{ 144{
145 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 145 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
146 146
@@ -158,7 +158,7 @@ static int __devinit wm8350_wdt_probe(struct platform_device *pdev)
158 return watchdog_register_device(&wm8350_wdt); 158 return watchdog_register_device(&wm8350_wdt);
159} 159}
160 160
161static int __devexit wm8350_wdt_remove(struct platform_device *pdev) 161static int wm8350_wdt_remove(struct platform_device *pdev)
162{ 162{
163 watchdog_unregister_device(&wm8350_wdt); 163 watchdog_unregister_device(&wm8350_wdt);
164 return 0; 164 return 0;
@@ -166,7 +166,7 @@ static int __devexit wm8350_wdt_remove(struct platform_device *pdev)
166 166
167static struct platform_driver wm8350_wdt_driver = { 167static struct platform_driver wm8350_wdt_driver = {
168 .probe = wm8350_wdt_probe, 168 .probe = wm8350_wdt_probe,
169 .remove = __devexit_p(wm8350_wdt_remove), 169 .remove = wm8350_wdt_remove,
170 .driver = { 170 .driver = {
171 .name = "wm8350-wdt", 171 .name = "wm8350-wdt",
172 }, 172 },