aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2018-02-12 22:47:33 +0000
committerAlexandre Belloni <[email protected]>2018-03-01 09:49:23 +0000
commitce1ae8eb83bee42c5a0dbcc01346e41c6e85da43 (patch)
treea95775bba15fb139d0bccb163729dc831c7c16a0 /drivers/rtc/class.c
parentrtc: rv8803: put struct nvmem_config on the stack (diff)
downloadkernel-ce1ae8eb83bee42c5a0dbcc01346e41c6e85da43.tar.gz
kernel-ce1ae8eb83bee42c5a0dbcc01346e41c6e85da43.zip
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 <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions