]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-rx4581: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:19 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:22 +0000 (16:34 +1100)
commitb3a7b11ac0dc04af5feca848a12eced9925f311c
tree3dd9293cb24b41454211f73ea81fa0e8062cd731
parenteaf3cbe797e8053827a91c4b1d450a22f45bb6f6
rtc: rtc-rx4581: 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-rx4581.c