]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rtc: rtc-ds1511: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:59 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:25 +0000 (18:28 -0700)
commitf650e657afdefc11f735e6fd49451af5ac2253ed
tree2a512d8003aa1b061f91b50f77b5e4bc11c1e911
parent8ae236b8c97fc65fd586fa6993184d2890b7016b
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1511.c