diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-12 23:47:33 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-01 10:49:23 +0100 |
commit | ce1ae8eb83bee42c5a0dbcc01346e41c6e85da43 (patch) | |
tree | a95775bba15fb139d0bccb163729dc831c7c16a0 /include/linux/rtc.h | |
parent | c07fd9dea2fab9f4b1f246b766e124606cef187f (diff) | |
download | linux-ce1ae8eb83bee42c5a0dbcc01346e41c6e85da43.tar.gz linux-ce1ae8eb83bee42c5a0dbcc01346e41c6e85da43.tar.xz |
rtc: rv8803: 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>
Diffstat (limited to 'include/linux/rtc.h')
0 files changed, 0 insertions, 0 deletions