drivers/rtc/rtc-ds1216.c: use module_platform_driver_probe()
commit061d2a3e39c4686039519509d69cd31c7841f666
authorFabio Porcedda <fabio.porcedda@gmail.com>
Wed, 3 Jul 2013 22:08:03 +0000 (3 15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:00 +0000 (3 16:08 -0700)
tree4f2d493e54e739c26096e975d1e4b2bf201d591b
parent1d2e2b65d098c0a321e16b0997eb760439d99500
drivers/rtc/rtc-ds1216.c: use module_platform_driver_probe()

Use module_platform_driver_probe() macro which makes the code smaller and
simpler.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: 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-ds1216.c