]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtc: rtc-88pm80x: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:55 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:24 +0000 (18:28 -0700)
commite3c8966858cc71a5acb9084307ce925ea6be7f1d
tree4bcc49cc46c98eb2247901ffeccf12c9b0ce08ca
parent80f1def424933ee2538cbc11a944d815d6691453
rtc: rtc-88pm80x: 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-88pm80x.c