]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtc: rx8025: switch to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 7 Nov 2021 22:54:52 +0000 (23:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Nov 2021 23:45:57 +0000 (00:45 +0100)
commit5e7f635aa64764f34266d22ee0fa27c8f4834309
tree448394087d28b3ee4d2855c54c8d6918b9e0ee55
parenta5f828036c2e9f46d84c7c9b27bf248c7f4bb0fe
rtc: rx8025: switch to devm_rtc_allocate_device

Switch to devm_rtc_allocate_device/devm_rtc_register_device, this allows
for further improvement of the driver.

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