]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-ep93xx.c: convert to use module_platform_driver()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 3 May 2012 05:44:32 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:51 +0000 (15:46 +1000)
commit99f674ca8b15aa214f1a8b6898764c1855fde5d6
treee9d8a720603581a493f69bbb5cf0ded652122616
parent0b93cc85cc13d858cc2928168953eb8cc523cf63
drivers/rtc/rtc-ep93xx.c: convert to use module_platform_driver()

Use module_platform_driver() to remove the boilerplate code.

Also, change the probe and remove functions to __devinit/__devexit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ep93xx.c