]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-at91sam9.c: use module_platform_driver() macro
authorDevendra Naga <develkernel412222@gmail.com>
Wed, 26 Sep 2012 01:34:35 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:11 +0000 (17:28 +1000)
commit842f266a014916374e0a31ba515085a5a8b546bd
tree7255116e29303cc7759f654bb1d5cc97222b41d3
parent92594538467120574a1175bf06132f96d189a712
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