]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-starfire: 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:48 +0000 (17:12 +1100)
commit17e1070043f63a21da172445b55a4ec541647a76
treefd3a32310cc843e403d2ca16825b73a0821557d6
parentf0fada5042796ae87751c20caaa0590882953d1f
rtc: rtc-starfire: 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-starfire.c