rtc: da9052: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 29 Mar 2020 22:42:40 +0000 (00:42 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 1 Apr 2020 10:33:34 +0000 (12:33 +0200)
commitd17077e570b21276dd6f49c89b03348c6be8f54f
tree9d3dd9a2bc42fc96dee9f2cebdcf2f1edf2d6e7c
parenta29de86521d8a80cb0b426638d4e38707cafa2e2
rtc: da9052: convert to devm_rtc_allocate_device

This allows further improvement of the driver.

Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20200329224240.776568-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-da9052.c