aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-04 21:17:29 -0700
committerDmitry Torokhov <[email protected]>2024-10-04 01:04:15 -0700
commitc6dcd360384e47fad0c6d228d70a1543192b895f (patch)
treef863eb6cfd2b00db36305a6f854ef9a08289e0a3 /tools/perf/scripts/python
parent54f951736d88e1c405b305a01fc921bd31907631 (diff)
Input: xilinx_ps2 - use guard notation when acquiring spinlock
Using guard notation makes the code more compact and error handling more robust by ensuring that locks 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