aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-04 13:55:07 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:38 -0700
commit2dc387620b85f2061fdcab172efdd9856999e987 (patch)
tree4fea06be88150bfbf6bf46cd78cd3769afb9cca7 /tools/perf/scripts/python/libxed.py
parent5bd3ade12109b276337ce85b950e09e09043e748 (diff)
Input: regulator-haptic - 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/libxed.py')
0 files changed, 0 insertions, 0 deletions