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