]> 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>
Fri, 22 Mar 2013 04:33:36 +0000 (15:33 +1100)
commit78928ba94118f9d61918d03c8133dd3f3c279a80
treee3374482dc96ba8d9e06479f4d322d0610ad3266
parent88680c5a6fc12067c287882473578ad37e673fa5
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