[Linux-stm32] [PATCH v2 06/12] rtc: stm32: Use resource managed API to simplify code
Antonio Borneo
antonio.borneo at foss.st.com
Mon Jan 20 00:32:07 PST 2025
On Fri, 2025-01-03 at 16:41 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> Use devm_pm_set_wake_irq and devm_device_init_wakeup to cleanup the
> error handling code and 'driver.remove()' hook.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
Reviewed-by: Antonio Borneo <antonio.borneo at foss.st.com>
Thanks,
Antonio
More information about the linux-riscv
mailing list