diff options
author | He Lugang <helugang@uniontech.com> | 2024-09-11 18:22:15 +0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-09-16 12:35:15 -0400 |
commit | fdc81c43f0c14ace6383024a02585e3fcbd1ceba (patch) | |
tree | 72df363d2390ffccc1ea2c4cc73dc13906f9b1ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 20e3aa503feb2deafd4185f50cee0da047f62e21 (diff) |
drm/xe: use devm_add_action_or_reset() helper
Use devm_add_action_or_reset() to release resources in case of failure,
because the cleanup function will be automatically called.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: He Lugang <helugang@uniontech.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9631BC17D1E028A2+20240911102215.84865-1-helugang@uniontech.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions