]> 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>
Thu, 21 Mar 2013 05:34:15 +0000 (16:34 +1100)
commita50401f2c8ede1baf0a589bc8b9e21a079ff7e30
tree98435a813b070d8b1bbbc3938cad839ea20f4d58
parent7fce9f14e9884b170d7b38d7785081ed6a37559a
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