diff options
author | Denis Osterland <Denis.Osterland@diehl.com> | 2018-03-05 13:43:53 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-17 16:20:54 +0300 |
commit | 236b7187034e87bd46eb535ab4f276267ef66ee4 (patch) | |
tree | 243b57c8a3bb2dc384b3d0ecf25c21ff84540a2e /include/linux/rtc.h | |
parent | 9d327c2d929161a6ca4d7ca0672414cc72100659 (diff) | |
download | linux-236b7187034e87bd46eb535ab4f276267ef66ee4.tar.xz |
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Reviewed-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/rtc.h')
0 files changed, 0 insertions, 0 deletions