]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ls1x: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:16 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:17 +0000 (15:23 +1100)
commitc19149605e39c8773bff4bf48516dfa540d8e5f6
tree43e66a49b132a95a3289ecc73420db41fda7d59f
parent0f8b0db6247ecf63c8da7270d74d582ecb9b7576
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