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