diff options
author | Peng Fan <peng.fan@nxp.com> | 2025-02-05 03:58:23 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-04 00:52:29 +0300 |
commit | ca36c93011173b9e241a2e31bc449fdd801b3ede (patch) | |
tree | e2de07fb354701a27f475199f96e78b6c0e294f1 /scripts/lib/kdoc/kdoc_files.py | |
parent | e8a0b6e62429f5675d37a02be5169de8453a08be (diff) | |
download | linux-ca36c93011173b9e241a2e31bc449fdd801b3ede.tar.xz |
rtc: ab8500: 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-5-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