]> git.baikalelectronics.ru Git - 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)
commit6eff301c33f8189618e62e255cb5bcc58684dc50
treece58bb9873512653ba8b6c6e28d8df0685b2063e
parent8f2f3e969597ce143620affaee31fef756622dcf
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