aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-04 21:17:19 -0700
committerDmitry Torokhov <[email protected]>2024-10-04 00:58:16 -0700
commit31b6b9a46d0af9c1ec7133e41302b3ef76016b04 (patch)
tree5d9224aa361bfba014228e70ea10d76356b04455 /tools/perf/scripts/python
parent7dc406b736b9acf01379d2235d97bb4873b504e7 (diff)
Input: ps2-gpio - 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. 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