rtc: pm8xxx: switch to devm_device_init_wakeup
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 3 Mar 2025 22:35:58 +0000 (23:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 17 Mar 2025 10:51:49 +0000 (11:51 +0100)
commit2eaa2998f8a2bbc1c120fe0e5d9da373b3084601
tree7f01c281ef8f838a5e8808e586395c0a973f06c6
parent252f49cd71ba9d66089b447a18be792ea272a57e
rtc: pm8xxx: 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-3-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pm8xxx.c