]> 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>
Wed, 25 Apr 2012 01:04:36 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:35 +0000 (15:17 +1000)
commit44bc72d65cd4e8a42b97973106ee8561566cdf82
treed6c053e032a0e1c2abeaa28de7676e6f15a3b978
parent7b379ffc2748b49e0419fadf63594f936ba1ba5b
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