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