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