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