summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/im28wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/im28wd.c')
-rw-r--r--drivers/watchdog/im28wd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c
index bc19369782..96cfe9a4f4 100644
--- a/drivers/watchdog/im28wd.c
+++ b/drivers/watchdog/im28wd.c
@@ -150,11 +150,4 @@ static struct driver_d imx28_wd_driver = {
.probe = imx28_wd_probe,
.remove = imx28_wd_remove,
};
-
-static int imx28_wd_init(void)
-{
- platform_driver_register(&imx28_wd_driver);
- return 0;
-}
-
-device_initcall(imx28_wd_init);
+device_platform_driver(imx28_wd_driver);