rtc: rs5c348: remove forward declaration
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 Sep 2018 15:05:08 +0000 (17:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Sep 2018 12:21:03 +0000 (14:21 +0200)
commit2d7be4ed7addcaae8eba6ae8cdee83e2f7d39059
tree1d687223b64933cd6cd3c564120f8eb8a23c58d9
parent02a6e1293235ba9b38c7f7428e0993fd972557cf
rtc: rs5c348: remove forward declaration

The name passed to devm_rtc_device_register is now unused. anyway, switch
to devm_rtc_allocate_device to avoid forward declaring rs5c348_driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rs5c348.c