rtc: rtc-pcap: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:47 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:23 +0000 (18:28 -0700)
commit0de4c7c150feb942747bbf594340e86d344c94aa
treec0bae1b76e08c2933164981fa2249cb4dc3efa53
parent09c5a36bf62d9eee9f878b9d4c2895319bd39b7b
rtc: rtc-pcap: 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcap.c