summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:42:27 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:36 +0300
commit0a54609a890e808f9d7ad944a99a25b17153f65c (patch)
treee9777262db825c1f0d698eb509d1cf7088b12c91 /tools/perf/scripts/python
parent6bbf7efc40f7d43383bac63537a8d4e6253a2e98 (diff)
downloadlinux-0a54609a890e808f9d7ad944a99a25b17153f65c.tar.xz
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 <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044244.1042174-8-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions