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