aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:27 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:36 -0700
commit0a54609a890e808f9d7ad944a99a25b17153f65c (patch)
treee9777262db825c1f0d698eb509d1cf7088b12c91 /tools/perf/scripts/python
parent6bbf7efc40f7d43383bac63537a8d4e6253a2e98 (diff)
Input: drv260x - use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released in all code paths when control leaves critical section. Reviewed-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions