aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/riowd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/riowd.c')
-rw-r--r--drivers/watchdog/riowd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index 49e1b1c2135c..0040451aec1d 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -174,7 +174,7 @@ static struct miscdevice riowd_miscdev = {
174 .fops = &riowd_fops 174 .fops = &riowd_fops
175}; 175};
176 176
177static int __devinit riowd_probe(struct platform_device *op) 177static int riowd_probe(struct platform_device *op)
178{ 178{
179 struct riowd *p; 179 struct riowd *p;
180 int err = -EINVAL; 180 int err = -EINVAL;
@@ -220,7 +220,7 @@ out:
220 return err; 220 return err;
221} 221}
222 222
223static int __devexit riowd_remove(struct platform_device *op) 223static int riowd_remove(struct platform_device *op)
224{ 224{
225 struct riowd *p = dev_get_drvdata(&op->dev); 225 struct riowd *p = dev_get_drvdata(&op->dev);
226 226
@@ -246,7 +246,7 @@ static struct platform_driver riowd_driver = {
246 .of_match_table = riowd_match, 246 .of_match_table = riowd_match,
247 }, 247 },
248 .probe = riowd_probe, 248 .probe = riowd_probe,
249 .remove = __devexit_p(riowd_remove), 249 .remove = riowd_remove,
250}; 250};
251 251
252module_platform_driver(riowd_driver); 252module_platform_driver(riowd_driver);