mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
rtc: stk17ta8: fix possible race condition
The probe function is not allowed to fail after registering the RTC. Call rtc_register_device() at the end. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
91cb6774f6
commit
8d3e6b55ce
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue