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