rtc: rtc-rp5c01: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:50 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:24 +0000 (18:28 -0700)
commit9842eaff052e0a5f5937108d72ad5a91c86dca6d
tree4b7515e65d9745af1b648459752e9ffd70623f65
parent7daba88e9d4214fd2b70c000a1ad64b15699b527
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-rp5c01.c