]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-lp8788: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:04 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:14 +0000 (16:34 +1100)
commita0963f847d247f4d75a0c6dee0944b1e54ff57a8
tree0c0baf843933dac8f7ae5a68a8a5a9c0bd7c222a
parent85eee97d37f5dfaa7f58ab9cb5de78e19acbfd67
rtc: rtc-lp8788: 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-lp8788.c