summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-11-21 22:44:56 +0100
committerGuenter Roeck <linux@roeck-us.net>2024-12-14 08:00:44 -0800
commit232ba88182083b4410df41cf310c9a16b84e547e (patch)
treef5ecfeb1dddb6c9393b27a707b78ddf2671529fb /tools/perf/scripts/python
parentf6477c85db0c34c8ed98c899d698251b4847d387 (diff)
hwmon: (chipcap2) Switch to guard() for mutext handling
Switch to guard() for mutex handling to simplify the code, getting rid of the 'ret = x, break; return ret;' construct and return the result of the operation instead. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions