]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers/rtc/rtc-ep93xx.c: convert to use module_platform_driver()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 29 May 2012 22:07:36 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:33 +0000 (16:22 -0700)
commit84d56b38b9abd36565f74cbf68501cee6206761e
treece58bb9873512653ba8b6c6e28d8df0685b2063e
parent0108c4ff62a0ee324c58175ff6b7000865023498
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ep93xx.c