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