commit | 84d56b38b9abd36565f74cbf68501cee6206761e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue May 29 15:07:36 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 29 16:22:33 2012 -0700 |
tree | ce58bb9873512653ba8b6c6e28d8df0685b2063e | |
parent | 0108c4ff62a0ee324c58175ff6b7000865023498 [diff] |
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>