Re: [PATCH 10/12] rtc: ab8500: Use resource managed API to simplify code
From: Linus Walleij
Date: Sat Dec 28 2024 - 17:55:35 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>
This looks very nice provided the core code is merged.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij