summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:26:03 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:39:21 +0300
commitc610e95f7769e52ae9f62eb3b5169ee3f7653905 (patch)
tree83f1183889fdd207b4506752ade2e465d5eab709 /tools/perf/scripts/python
parent334ababdd15ca13006741d27f71470cfa7be2542 (diff)
downloadlinux-c610e95f7769e52ae9f62eb3b5169ee3f7653905.tar.xz
Input: psmouse-smbus - use guard notation when acquiring mutex
This 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/ZsrAa9XcDvHeIs9T@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions