diff options
author | Peng Fan <peng.fan@nxp.com> | 2025-02-05 08:58:19 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-03 22:52:29 +0100 |
commit | 04572d18921d47939465d2cba32c19d05f27cda9 (patch) | |
tree | dd74397fcb8979dd62eaff6b2aea74dd88e3ce73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 72ce39bc61fab14ef8eda1614763d6422ce38736 (diff) |
rtc: stm32: 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: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250205-rtc-cleanup-v1-1-66165678e089@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions