]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-mxc: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:06 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:15 +0000 (16:34 +1100)
commit2e8edf31cd3b54f217940678e26261de4ae657d1
treeb23a34772e2ce815984503c6b862a2159fba231e
parent2f46e7bd4189b52060550ca74ddcf9ca2b70edfa
rtc: rtc-mxc: 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-mxc.c