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