]> git.baikalelectronics.ru Git - kernel.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)
commitc99513607df87e702881e4f1fb9cd39a21d1dc6d
tree448394087d28b3ee4d2855c54c8d6918b9e0ee55
parentc3cf578b22124299c4ee7ba950ad422c99f526fe
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