]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds1302: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:56 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:07 +0000 (15:23 +1100)
commit2adf1037c0e697ac963ca2dc39f7ef91fc37f065
treeb4f9eb638e8a3e57ce771d909b3184bdc77f175d
parent832c468ce86f1bf2723be2e186bfa3c02351f5f8
rtc: rtc-ds1302: 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>
drivers/rtc/rtc-ds1302.c