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