rtc: r9701: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 Oct 2020 19:11:34 +0000 (21:11 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Oct 2020 20:48:55 +0000 (22:48 +0200)
commitdfe13cf2ae5a7cdb131e61a8aae4fb27cd379bd4
treee4b8cf540e1a6c0c5321aee25c66842f00294700
parent8b34134907e7d70b8b51fa56ecd4f8c50c46692c
rtc: r9701: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

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