[PATCH 12/12] rtc: pl031: Use resource managed API to simplify code
Linus Walleij
linus.walleij at linaro.org
Sat Dec 28 14:55:45 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>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-riscv
mailing list