OSDN Git Service

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)
commit57072758623fa4f3019bce65e2b00f24af8dfdd7
tree97e3d055a72a163bce5cf517450643281913b435
parent26e480f7bb7840fc0daa9c3af7c4501b2cf5902f
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