OSDN Git Service

rtc: s35390a: convert to devm_rtc_allocate_device
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 16 Oct 2019 20:08:47 +0000 (22:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Oct 2019 20:33:03 +0000 (22:33 +0200)
commited6c6dfdbe475271f769603ae22246b3e2c8c7b3
treec06d3eda2c0b86ba569b1328f9bae56a280e674c
parentcb0b97d68252df9bc2e50bdb971b589b85589c2c
rtc: s35390a: convert to devm_rtc_allocate_device

This allows further improvement of the driver and removes the need to
forward declare s35390a_driver.

Link: https://lore.kernel.org/r/20191016200848.30246-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-s35390a.c