]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-sh: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:00 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:35 +0000 (15:33 +1100)
commitc9f06b0c3648a6f5d85ad7a6bbf8ef273ce41fa2
treeee5b76206de8bb4c28c539f64cbe25c6e570f17f
parentf1aa9f2d3f13d8dca98139d9968c7f5d735f4f1b
rtc: rtc-sh: 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>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-sh.c