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