[PATCH 10/12] rtc: ab8500: Use resource managed API to simplify code
Linus Walleij
linus.walleij at linaro.org
Sat Dec 28 14:55:10 PST 2024
On Sat, Dec 28, 2024 at 2:16 AM Peng Fan (OSS) <peng.fan at oss.nxp.com> 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>
This looks very nice provided the core code is merged.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-riscv
mailing list