Re: [PATCH 12/12] rtc: pl031: Use resource managed API to simplify code

From: Linus Walleij
Date: Sat Dec 28 2024 - 17:56:13 EST


On Sat, Dec 28, 2024 at 2:16 AM Peng Fan (OSS) <peng.fan@xxxxxxxxxxx> 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: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij