]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds3234: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:35 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:46 +0000 (17:12 +1100)
commit424d7b2a1a5bab0f0591bb484c3667d58bb75df4
treec5e61b142a3d4f0d90ddf89ddc0e7a93675e19da
parentcdea1bb3062fda239fccab1cee7bf18c5e1aef18
rtc: rtc-ds3234: 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-ds3234.c