]> 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>
Wed, 12 Sep 2012 07:08:43 +0000 (17:08 +1000)
commit51c99be261071dd92407cb9e4d83390685b11e9d
treea886ab3848e519dce1f3bb8726c1f8271a329d16
parent96d8dc0e6283e339783da0a77bd161b283602dbb
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