Re: [Linux-stm32] [PATCH v2 06/12] rtc: stm32: Use resource managed API to simplify code
From: Antonio Borneo
Date: Mon Jan 20 2025 - 03:37:06 EST
On Fri, 2025-01-03 at 16:41 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> 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@xxxxxxx>
> ---
Reviewed-by: Antonio Borneo <antonio.borneo@xxxxxxxxxxx>
Thanks,
Antonio