]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: switch to using the preferred RTC API
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Sep 2020 15:45:58 +0000 (17:45 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Sep 2020 08:50:38 +0000 (10:50 +0200)
commit061e786044a34342b3bbf63fae7628e2b03215e2
tree65380a45e6c91e145cefd3e41403b7660aae3207
parent348e47093b5bf1a074acca49b610951ba910ad62
rtc: rx8010: switch to using the preferred RTC API

Use devm_rtc_allocate_device() + rtc_register_device() instead of the
deprecated devm_rtc_device_register().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200914154601.32245-12-brgl@bgdev.pl
drivers/rtc/rtc-rx8010.c