]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-generic: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:15 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:45 +0000 (15:33 +1100)
commit9a26d8750d2ebd1b793f25f27ec7e2141f0d448f
tree31c3e08e891ce987d915a8d366dc39854a70b0bd
parentc4f335d39bb693433e3710ab48043f16d0e2e293
rtc: rtc-generic: 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-generic.c