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