]> 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>
Wed, 26 Sep 2012 01:34:35 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:27 +0000 (15:45 +1000)
commitf50f34eafa415375c97172976444cfba48ef170e
treeb7ee8ea0dde9be27fb6b45503dcfd4ca5cf60849
parentf78cf9d48b5faabe0b708228b9daec689492f7dd
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