]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaf2b0188db557635540164aa79fdf6acb97bc45
tree1d687223b64933cd6cd3c564120f8eb8a23c58d9
parentcfeebb8927a11d5bdb8d34452c6d36e0234c8501
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