diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-mv.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c index d8e875e9a165..f378e1773a3e 100644 --- a/drivers/rtc/rtc-mv.c +++ b/drivers/rtc/rtc-mv.c | |||
@@ -331,18 +331,7 @@ static struct platform_driver mv_rtc_driver = { | |||
331 | }, | 331 | }, |
332 | }; | 332 | }; |
333 | 333 | ||
334 | static __init int mv_init(void) | 334 | module_platform_driver_probe(mv_rtc_driver, mv_rtc_probe); |
335 | { | ||
336 | return platform_driver_probe(&mv_rtc_driver, mv_rtc_probe); | ||
337 | } | ||
338 | |||
339 | static __exit void mv_exit(void) | ||
340 | { | ||
341 | platform_driver_unregister(&mv_rtc_driver); | ||
342 | } | ||
343 | |||
344 | module_init(mv_init); | ||
345 | module_exit(mv_exit); | ||
346 | 335 | ||
347 | MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>"); | 336 | MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>"); |
348 | MODULE_DESCRIPTION("Marvell RTC driver"); | 337 | MODULE_DESCRIPTION("Marvell RTC driver"); |