]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: omap: switch to rtc_register_device
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 12 Oct 2017 22:06:45 +0000 (00:06 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 31 Oct 2017 16:31:13 +0000 (17:31 +0100)
commit0b661c45dd6f318e5d42ce51d3a9b90e76a6b5de
tree97e3d055a72a163bce5cf517450643281913b435
parent9e4057ae1d028934038555e15f0aec3faa51b6c2
rtc: omap: switch to rtc_register_device

This removes a possible race condition and crash and allows for further
improvement of the driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-omap.c