rtc: cpcap: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 01:57:01 +0000 (02:57 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:10 +0000 (11:12 +0100)
commit05b38d182c5deeadb1b7eeb3e35c35b7652dc0e8
tree6e00280e7e463bc390a3f27dc566923e0583e4c0
parenteb8d94203292c9d7be2dacd97e80b4d128e9f6a2
rtc: cpcap: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

Link: https://lore.kernel.org/r/20200306015703.42101-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-cpcap.c