diff options
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r-- | drivers/rtc/class.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index de86578bcd6d..74fd9746aeca 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c | |||
@@ -361,17 +361,4 @@ static int __init rtc_init(void) | |||
361 | rtc_dev_init(); | 361 | rtc_dev_init(); |
362 | return 0; | 362 | return 0; |
363 | } | 363 | } |
364 | |||
365 | static void __exit rtc_exit(void) | ||
366 | { | ||
367 | rtc_dev_exit(); | ||
368 | class_destroy(rtc_class); | ||
369 | ida_destroy(&rtc_ida); | ||
370 | } | ||
371 | |||
372 | subsys_initcall(rtc_init); | 364 | subsys_initcall(rtc_init); |
373 | module_exit(rtc_exit); | ||
374 | |||
375 | MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>"); | ||
376 | MODULE_DESCRIPTION("RTC class support"); | ||
377 | MODULE_LICENSE("GPL"); | ||