]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-snvs: 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)
commit0e9ff7e6c4a6b44a44b6d84702730826e6c61399
treec74dfc61689ff2b2baa79a8b3e0e980a648e9775
parentdb00bd17e1361c3e650ebf23451ffd71da98cdb2
rtc: rtc-snvs: 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-snvs.c