diff --git a/[refs] b/[refs] index 979a0ac669e5..a8e63b81129b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ac36960f42ee2788dd0a2988779e45952a8327a9 +refs/heads/master: aaa8345881ab6c6163438f21bf7ea12374a7af78 diff --git a/trunk/drivers/rtc/rtc-au1xxx.c b/trunk/drivers/rtc/rtc-au1xxx.c index b309da4ec745..dfd6d6638aa3 100644 --- a/trunk/drivers/rtc/rtc-au1xxx.c +++ b/trunk/drivers/rtc/rtc-au1xxx.c @@ -134,18 +134,7 @@ static struct platform_driver au1xrtc_driver = { .remove = au1xtoy_rtc_remove, }; -static int __init au1xtoy_rtc_init(void) -{ - return platform_driver_probe(&au1xrtc_driver, au1xtoy_rtc_probe); -} - -static void __exit au1xtoy_rtc_exit(void) -{ - platform_driver_unregister(&au1xrtc_driver); -} - -module_init(au1xtoy_rtc_init); -module_exit(au1xtoy_rtc_exit); +module_platform_driver_probe(au1xrtc_driver, au1xtoy_rtc_probe); MODULE_DESCRIPTION("Au1xxx TOY-counter-based RTC driver"); MODULE_AUTHOR("Manuel Lauss ");