diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-13 01:47:58 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-01 12:49:35 +0300 |
commit | a2fa9b8e5abc7d16d5617996638f796fbd61cbb2 (patch) | |
tree | 03683ba79b7311b6bdd6e92ee77722b9302d5422 /drivers/rtc/rtc-isl1208.c | |
parent | 68981fd1515de16f8effdd39e81f9a6084a895f7 (diff) | |
download | linux-a2fa9b8e5abc7d16d5617996638f796fbd61cbb2.tar.xz |
rtc: tx4939: 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 'drivers/rtc/rtc-isl1208.c')
0 files changed, 0 insertions, 0 deletions