]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-at91sam9.c: use module_platform_driver() macro
authorDevendra Naga <develkernel412222@gmail.com>
Fri, 28 Sep 2012 00:20:32 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:29 +0000 (14:01 +1000)
commit27e2dbee14a49420eb263f39994782f24845725f
treedffa7ca318f94a9eb7aa9cffd134dbac9e71a0e6
parente52f0705a16d1d18e1861b4b7da34c8e7f39cbf1
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>
drivers/rtc/rtc-at91sam9.c