]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv8803: switch to rtc_register_device
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 09:42:03 +0000 (11:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Jul 2017 11:14:16 +0000 (13:14 +0200)
commitfe45194c1e4f7e90f02ab317b9f88ff41156c790
tree0502af3b6a8e167073d5523a35a75f56ade15234
parentd3978d8a92f10752e1dc259a24feadabb3088ef7
rtc: rv8803: switch to rtc_register_device

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

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