]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-s3c: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:07 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:39 +0000 (15:33 +1100)
commit6299aa2d2ad910934800df0b3ac87fdc3a44be97
tree2d1eed3a23deb485906ff47bcfff2f05b5cd335a
parent796fd644b706e2a4501d57a5d198a6ac1e093810
rtc: rtc-s3c: 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-s3c.c