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)
commit7133eca19505defed19b1337f46b2cd5f7608814
tree0502af3b6a8e167073d5523a35a75f56ade15234
parent697e5a47aa12cdab6f2a8b284cc923cdf704eafc
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