summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 23:55:07 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:38 +0300
commit2dc387620b85f2061fdcab172efdd9856999e987 (patch)
tree4fea06be88150bfbf6bf46cd78cd3769afb9cca7 /tools/perf/scripts/python
parent5bd3ade12109b276337ce85b950e09e09043e748 (diff)
downloadlinux-2dc387620b85f2061fdcab172efdd9856999e987.tar.xz
Input: regulator-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 <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/ZtjJKxQRRzJE0aWZ@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