]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-test: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:41 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:49 +0000 (17:12 +1100)
commitadff11b03c24af1966f70bc75500cc924353b9e8
treefd163dc5a513b85206d87c09eaac99f77a0a98b3
parentb219fcf20fab31252997603a0d4be05e8ace9784
rtc: rtc-test: 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-test.c