Re: [PATCH 1/2] rtc: sprd: Change to use devm_rtc_allocate_device()

From: Alexandre Belloni
Date: Thu May 03 2018 - 16:12:40 EST


On 26/04/2018 10:58:44+0800, Baolin Wang wrote:
> This is a preparation patch, changing to use devm_rtc_allocate_device()
> that can allow driver to set 'range_max' and 'range_min' for the RTC
> device.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
> ---
> drivers/rtc/rtc-sc27xx.c | 14 ++++++++++----
> 1 file changed, 10 insertions(+), 4 deletions(-)
>

Both applied, thanks.

--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com