]> 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>
Thu, 21 Mar 2013 05:34:15 +0000 (16:34 +1100)
commit291381010c5fd11725f8e289ff44ffb399f381c5
tree3d63a6d92849389d63bef55e40dc445696d310d3
parentde638be5f64cae7772ef76c512864b166e816560
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