]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: puv3: switch to devm_rtc_allocate_device()/rtc_register_device()
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 22 Aug 2017 09:48:41 +0000 (11:48 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 22 Aug 2017 10:05:20 +0000 (12:05 +0200)
commit5539ba54b3ea3952b14bd8692122543d1e31b5ae
treec6bf87ad96714342b5018438c68ccaf5ae029949
parent2f7f1b780dd60278819d396b67db8c41db6a3b1f
rtc: puv3: switch to devm_rtc_allocate_device()/rtc_register_device()

Use managed RTC device allocation as this allows for further cleanup.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-puv3.c