rtc: brcmstb-waketimer: switch to rtc_register_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 20 May 2018 20:27:29 +0000 (22:27 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 21 May 2018 20:33:50 +0000 (22:33 +0200)
commit2abf286a20e338f2e105a2d19dfabec8927faa92
treeca3c95206ebcc1686aa1bb349f918490df3eef84
parent7e83f03fad3e404778fbcfb16f91a09aecf27e04
rtc: brcmstb-waketimer: switch to rtc_register_device

Switch to devm_rtc_allocate_device/rtc_register_device.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-brcmstb-waketimer.c