]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-sh: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Sun, 10 Mar 2013 10:55:04 +0000 (21:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:56:41 +0000 (14:56 +1100)
commit86fa511c54569693f4a7030c8c85b178e81215f1
tree59a2da32851a40bd1daeb9f3c14d4c5e88232e76
parent85659c903cf01bb2ced9b2a9325d6e442237c5f5
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