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