]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-em3027: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:15 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:20 +0000 (16:34 +1100)
commit4eeb3099c94a412b622e76bc4048bb041ac1bf2e
tree30569ebade55df62530144ac647fe054e77b96aa
parentbf4b30a951c8ff98aae300c23bef96b061a9c916
rtc: rtc-em3027: use devm_rtc_device_register()

devm_rtc_device_register() is device managed and makes cleanup paths
simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-em3027.c