]> 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, 7 Sep 2012 00:24:56 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 06:18:19 +0000 (16:18 +1000)
commita508b2b00b04a9680e7b0958d81dcd94e74370fc
treeb6d1e963f07207cfd678122dd87469c56f813677
parent67f2d212c380c8232c90d5960350ef3f6a02af2f
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