]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-imxdi: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:04 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:11 +0000 (15:23 +1100)
commit3575c501d90db1a50b521f44b558fdb4daa4dea9
treee37876bce659277ff4a2045bd9b570f56cc99583
parent2a67401b073f6d608580a72506b20134765b986f
rtc: rtc-imxdi: 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-imxdi.c