]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-spear: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:07 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:13 +0000 (15:23 +1100)
commit01f768e17b00bc6cf2bc3ccd7da8c3218414b24f
tree32ce544bddf04d896664d5ab684d8b32e309ec20
parent0e9ff7e6c4a6b44a44b6d84702730826e6c61399
rtc: rtc-spear: 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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-spear.c