]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-sh: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:00 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:09 +0000 (15:23 +1100)
commit819aa47f84cbb8a67be993868e5d2c4dc793f283
tree1b6503ced21c1654eb4e727bd39cc127f07e02d8
parenta87192454046c68893f021501c98b4c2de704d00
rtc: rtc-sh: use module_platform_driver_probe()

Use module_platform_driver_probe() macro which makes the code smaller and
simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-sh.c