Re: [PATCH v3 2/4] rtc: isl1208: switch to rtc_register_device

From: Alexandre Belloni
Date: Tue Mar 06 2018 - 15:20:42 EST


On 05/03/2018 at 10:43:53 +0000, Denis OSTERLAND wrote:
> From: Denis Osterland <Denis.Osterland@xxxxxxxxx>
>
> Fix possible race condition.
> It is not allowed to return with an error code after RTC is registered.
>
> Suggested-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Denis Osterland <Denis.Osterland@xxxxxxxxx>
> Reviewed-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-isl1208.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Applied, thanks.

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