aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-10-08 18:24:16 +0200
committerBartosz Golaszewski <[email protected]>2024-10-14 10:30:36 +0200
commit476f18c0895df7b281eb84b3e687e6101c844338 (patch)
tree3033aaed6aba1eb30613c254495deca231ff338b /tools/perf/scripts/python/intel-pt-events.py
parenta937ee6d7eba055226fba300e17ade6f65de6d93 (diff)
gpio: ljca: use devm_mutex_init() to simplify the error path and remove()
Destroying the mutexes is done at the end of remove() so switching to devres does not constitute a functional change. Use devm_mutex_init() and remove repetitions of mutex_destroy(). Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions