rtc: rtc-imxdi: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:42 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:23 +0000 (18:28 -0700)
commit615343420b73443854178b6eb9a9a1eee05cf1da
treea669f23cf331d64fbadc71d252f18aab032b1db9
parenta53f9a4eeea929ce96113ce8af6c7488a3525b6d
rtc: rtc-imxdi: 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-imxdi.c