diff options
Diffstat (limited to 'drivers/watchdog/dw_wdt.c')
-rw-r--r-- | drivers/watchdog/dw_wdt.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index f10f8c0abba4..1b0e3dd81c1a 100644 --- a/drivers/watchdog/dw_wdt.c +++ b/drivers/watchdog/dw_wdt.c | |||
@@ -358,17 +358,7 @@ static struct platform_driver dw_wdt_driver = { | |||
358 | }, | 358 | }, |
359 | }; | 359 | }; |
360 | 360 | ||
361 | static int __init dw_wdt_watchdog_init(void) | 361 | module_platform_driver(dw_wdt_driver); |
362 | { | ||
363 | return platform_driver_register(&dw_wdt_driver); | ||
364 | } | ||
365 | module_init(dw_wdt_watchdog_init); | ||
366 | |||
367 | static void __exit dw_wdt_watchdog_exit(void) | ||
368 | { | ||
369 | platform_driver_unregister(&dw_wdt_driver); | ||
370 | } | ||
371 | module_exit(dw_wdt_watchdog_exit); | ||
372 | 362 | ||
373 | MODULE_AUTHOR("Jamie Iles"); | 363 | MODULE_AUTHOR("Jamie Iles"); |
374 | MODULE_DESCRIPTION("Synopsys DesignWare Watchdog Driver"); | 364 | MODULE_DESCRIPTION("Synopsys DesignWare Watchdog Driver"); |