aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:48:33 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:37 -0700
commit844111df52dc2d1f2da6c80d4b7e219d7b6e16f9 (patch)
tree7039cf23e6b4168fa28b90bdf5e1e977272df606 /tools/perf/scripts/python/mem-phys-addr.py
parent452e0adff26188fb13bfc862f665bdc684ce64fc (diff)
Input: max8997_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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions