]> 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)
commit58d3fab185e57d1ed4d3cc2ba6105ca2c21b4142
tree97e3d055a72a163bce5cf517450643281913b435
parent26b17f3ef7380b1569d4ee018150aee1b3da5aca
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