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