Re: [PATCH v2 09/11] rtc: rx8010: switch to using the preferred RTC API

2020-09-11 Thread Alexandre Belloni
On 10/09/2020 15:04:44+0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Use devm_rtc_allocate_device() + rtc_register_device() instead of the > deprecated devm_rtc_device_register(). > > Signed-off-by: Bartosz Golaszewski > --- > drivers/rtc/rtc-rx8010.c | 13 + > 1

[PATCH v2 09/11] rtc: rx8010: switch to using the preferred RTC API

2020-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use devm_rtc_allocate_device() + rtc_register_device() instead of the deprecated devm_rtc_device_register(). Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/r