diff options
| author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-11-22 00:44:56 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-14 19:00:44 +0300 |
| commit | 232ba88182083b4410df41cf310c9a16b84e547e (patch) | |
| tree | f5ecfeb1dddb6c9393b27a707b78ddf2671529fb /tools/lib/python | |
| parent | f6477c85db0c34c8ed98c899d698251b4847d387 (diff) | |
| download | linux-232ba88182083b4410df41cf310c9a16b84e547e.tar.xz | |
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/lib/python')
0 files changed, 0 insertions, 0 deletions
