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