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