]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit661327feb46783ff92233f586eb05f16a578dd13
treec06d3eda2c0b86ba569b1328f9bae56a280e674c
parent6cedbd17afe6f3391533ebb6fe2a90df50e91a14
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