aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/wm831x_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/wm831x_wdt.c')
-rw-r--r--drivers/watchdog/wm831x_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/wm831x_wdt.c b/drivers/watchdog/wm831x_wdt.c
index 87d66d236c3e..9dcb6d082277 100644
--- a/drivers/watchdog/wm831x_wdt.c
+++ b/drivers/watchdog/wm831x_wdt.c
@@ -181,7 +181,7 @@ static const struct watchdog_ops wm831x_wdt_ops = {
181 .set_timeout = wm831x_wdt_set_timeout, 181 .set_timeout = wm831x_wdt_set_timeout,
182}; 182};
183 183
184static int __devinit wm831x_wdt_probe(struct platform_device *pdev) 184static int wm831x_wdt_probe(struct platform_device *pdev)
185{ 185{
186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
187 struct wm831x_pdata *chip_pdata; 187 struct wm831x_pdata *chip_pdata;
@@ -292,7 +292,7 @@ err:
292 return ret; 292 return ret;
293} 293}
294 294
295static int __devexit wm831x_wdt_remove(struct platform_device *pdev) 295static int wm831x_wdt_remove(struct platform_device *pdev)
296{ 296{
297 struct wm831x_wdt_drvdata *driver_data = dev_get_drvdata(&pdev->dev); 297 struct wm831x_wdt_drvdata *driver_data = dev_get_drvdata(&pdev->dev);
298 298
@@ -306,7 +306,7 @@ static int __devexit wm831x_wdt_remove(struct platform_device *pdev)
306 306
307static struct platform_driver wm831x_wdt_driver = { 307static struct platform_driver wm831x_wdt_driver = {
308 .probe = wm831x_wdt_probe, 308 .probe = wm831x_wdt_probe,
309 .remove = __devexit_p(wm831x_wdt_remove), 309 .remove = wm831x_wdt_remove,
310 .driver = { 310 .driver = {
311 .name = "wm831x-watchdog", 311 .name = "wm831x-watchdog",
312 }, 312 },