summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-11-22 00:44:56 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-12-14 19:00:44 +0300
commit232ba88182083b4410df41cf310c9a16b84e547e (patch)
treef5ecfeb1dddb6c9393b27a707b78ddf2671529fb /scripts/lib/kdoc/kdoc_files.py
parentf6477c85db0c34c8ed98c899d698251b4847d387 (diff)
downloadlinux-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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions