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