]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-palmas: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:06 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:39 +0000 (15:33 +1100)
commitde3d8541f793769aaadb7369788ef37a353ac58a
tree841ef9c6ce3727d135676d54804406a64eb1658e
parent8aa3dcf483e9e42b369c3fbaa0955ec61cc37b9e
rtc: rtc-palmas: 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-palmas.c