diff options
author | He Lugang <[email protected]> | 2024-09-11 18:22:15 +0800 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-10-03 01:13:54 -0500 |
commit | cb58977016d1b25781743e5fbe6a545493785e37 (patch) | |
tree | 0d8bbd408bd6eb8c92a4cc06c5081762c1e6569a /tools/perf/scripts/python/syscall-counts.py | |
parent | 2d2be279f1ca9e7288282d4214f16eea8a727cdb (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 <[email protected]>
Signed-off-by: He Lugang <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
(cherry picked from commit fdc81c43f0c14ace6383024a02585e3fcbd1ceba)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions