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