rtc: mpfs: switch to devm_device_init_wakeup
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 3 Mar 2025 22:35:56 +0000 (23:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 17 Mar 2025 10:51:49 +0000 (11:51 +0100)
commitde404fc19628352e507290f0a192ca1f537b4150
tree28306953355e6ee1b7204fd0569178748277362e
parent27b2fcbd6b98204b0dce62e9aa9540ca0a2b70f1
rtc: mpfs: switch to devm_device_init_wakeup

Switch to devm_device_init_wakeup to avoid a possible memory leak as wakeup
is never disabled.

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