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