diff options
author | Peng Fan <peng.fan@nxp.com> | 2025-02-05 03:58:25 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-04 00:52:29 +0300 |
commit | 90e0bcc9392d27396e0b004116aafbd585bb082a (patch) | |
tree | de805b7dcf98332f90f0ef364a6c10f8b2eae1c4 /scripts/lib/kdoc/kdoc_files.py | |
parent | d8690ce183bb351881a16291971dcc7f40fb8846 (diff) | |
download | linux-90e0bcc9392d27396e0b004116aafbd585bb082a.tar.xz |
rtc: pl031: Use resource managed API to simplify code
Use devm_pm_set_wake_irq and devm_device_init_wakeup to cleanup the
error handling code and 'driver.remove()' hook.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250205-rtc-cleanup-v1-7-66165678e089@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions