rtc: au1xxx: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 00:59:55 +0000 (01:59 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:09 +0000 (11:12 +0100)
commit7fc9790aa38f22372c449b48ff25c71fbdd8e755
treef59cf3bc43d43dc8659b2796f9187dc40a806c29
parent326bce078a6a8b04266a816e63f6f9e74ed98457
rtc: au1xxx: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

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