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