]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-dm355evm: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:14 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:44 +0000 (15:33 +1100)
commit8f45ecbdd6295733902596ecdc8a0578e20ecf1b
tree751df81e402b6e32db79c24fc5e965b13f6287fd
parentba866f1f2bf33784e3893d1290f2a9bbbcef0193
rtc: rtc-dm355evm: 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-dm355evm.c