]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-pcf8523: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:06 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:12 +0000 (15:23 +1100)
commit17c91a75e9b4b18a3aa7b99a953b861f7f9840d5
treec406f6f9740b932099ed9353cc8e6c2d7bea265d
parent497969637ff414b95a39dc4e51e89220d9aa0500
rtc: rtc-pcf8523: 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-pcf8523.c