aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/uctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/uctrl.c')
-rw-r--r--drivers/sbus/char/uctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c
index a9e468cc1cac..b0aae0536d58 100644
--- a/drivers/sbus/char/uctrl.c
+++ b/drivers/sbus/char/uctrl.c
@@ -347,7 +347,7 @@ static void uctrl_get_external_status(struct uctrl_driver *driver)
347 347
348} 348}
349 349
350static int __devinit uctrl_probe(struct platform_device *op) 350static int uctrl_probe(struct platform_device *op)
351{ 351{
352 struct uctrl_driver *p; 352 struct uctrl_driver *p;
353 int err = -ENOMEM; 353 int err = -ENOMEM;
@@ -402,7 +402,7 @@ out_free:
402 goto out; 402 goto out;
403} 403}
404 404
405static int __devexit uctrl_remove(struct platform_device *op) 405static int uctrl_remove(struct platform_device *op)
406{ 406{
407 struct uctrl_driver *p = dev_get_drvdata(&op->dev); 407 struct uctrl_driver *p = dev_get_drvdata(&op->dev);
408 408
@@ -430,7 +430,7 @@ static struct platform_driver uctrl_driver = {
430 .of_match_table = uctrl_match, 430 .of_match_table = uctrl_match,
431 }, 431 },
432 .probe = uctrl_probe, 432 .probe = uctrl_probe,
433 .remove = __devexit_p(uctrl_remove), 433 .remove = uctrl_remove,
434}; 434};
435 435
436 436