]> 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>
Fri, 22 Mar 2013 04:33:36 +0000 (15:33 +1100)
commitde2f0bc2c1cd0cfe0e48ee2c8a3c66b32a57ed3c
tree7f6640233e377748cd119e6411aac5525274d64b
parent7a91129c41b4af039743f5754f2ae88526ba26ce
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