summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-10-05 02:13:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 20:05:02 +0200
commit477d30d787b969e4c11fc958077cc7954805e236 (patch)
treeadbd92ca31581da2e5178a15b2ecb823c706b174 /drivers/rtc/Kconfig
parentrtc: recycle id when unloading a rtc driver (diff)
downloadlinux-477d30d787b969e4c11fc958077cc7954805e236.tar.xz
linux-477d30d787b969e4c11fc958077cc7954805e236.zip
drivers/rtc/rtc-at91sam9.c: use module_platform_driver() macro
This driver does seems to do only platform_driver_register in the init function and platform_driver_unregister in the exit function, so replace all this code including the module_init and module_exit with module_platform_driver macro... Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
0 files changed, 0 insertions, 0 deletions