]> 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>
Thu, 21 Mar 2013 05:34:11 +0000 (16:34 +1100)
commitfe3c733b0f4897b954f14c9d5ef175e066ca26b5
treea6ce9f310c61c7112b08ee6ea24910b46ba1259f
parent4f1c146a38f66e36e0d9880f2a88a8560b2875d7
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