Skip to content
Commit 236b7187 authored by Denis Osterland's avatar Denis Osterland Committed by Alexandre Belloni
Browse files

rtc: isl1208: switch to rtc_register_device



Fix possible race condition.
It is not allowed to return with an error code after RTC is registered.

Suggested-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarDenis Osterland <Denis.Osterland@diehl.com>
Reviewed-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 9d327c2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment