]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-rp5c01: 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)
commit85659c903cf01bb2ced9b2a9325d6e442237c5f5
tree1ccf7cc9314c7ca03e3222f9cb90cbce55ef7c24
parentf7e7c60d73c72ef87f2402c7d1ae5087aca5e60e
rtc: rtc-rp5c01: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-rp5c01.c