diff options
Diffstat (limited to 'drivers/watchdog/coh901327_wdt.c')
-rw-r--r-- | drivers/watchdog/coh901327_wdt.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh901327_wdt.c index cb5da5c3ece2..b9b8a8be6f12 100644 --- a/drivers/watchdog/coh901327_wdt.c +++ b/drivers/watchdog/coh901327_wdt.c | |||
@@ -451,17 +451,7 @@ static struct platform_driver coh901327_driver = { | |||
451 | .resume = coh901327_resume, | 451 | .resume = coh901327_resume, |
452 | }; | 452 | }; |
453 | 453 | ||
454 | static int __init coh901327_init(void) | 454 | module_platform_driver_probe(coh901327_driver, coh901327_probe); |
455 | { | ||
456 | return platform_driver_probe(&coh901327_driver, coh901327_probe); | ||
457 | } | ||
458 | module_init(coh901327_init); | ||
459 | |||
460 | static void __exit coh901327_exit(void) | ||
461 | { | ||
462 | platform_driver_unregister(&coh901327_driver); | ||
463 | } | ||
464 | module_exit(coh901327_exit); | ||
465 | 455 | ||
466 | MODULE_AUTHOR("Linus Walleij <linus.walleij@stericsson.com>"); | 456 | MODULE_AUTHOR("Linus Walleij <linus.walleij@stericsson.com>"); |
467 | MODULE_DESCRIPTION("COH 901 327 Watchdog"); | 457 | MODULE_DESCRIPTION("COH 901 327 Watchdog"); |