Re: [PATCH 1/3] rtc: ftrtc010: switch to devm_rtc_allocate_device

2018-06-13 Thread Linus Walleij
On Mon, Jun 4, 2018 at 4:15 PM, Alexandre Belloni wrote: > Switch to devm_rtc_allocate_device/rtc_register_device. This allow or > further improvement and simplifies ftrtc010_rtc_remove(). > > Signed-off-by: Alexandre Belloni Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/3] rtc: ftrtc010: switch to devm_rtc_allocate_device

2018-06-07 Thread Hans Ulli Kroll
On Mon, 4 Jun 2018, Alexandre Belloni wrote: > Switch to devm_rtc_allocate_device/rtc_register_device. This allow or > further improvement and simplifies ftrtc010_rtc_remove(). > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-ftrtc010.c | 11 +++ > 1 file changed, 7 insertio

[PATCH 1/3] rtc: ftrtc010: switch to devm_rtc_allocate_device

2018-06-04 Thread Alexandre Belloni
Switch to devm_rtc_allocate_device/rtc_register_device. This allow or further improvement and simplifies ftrtc010_rtc_remove(). Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ftrtc010.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ftrtc010