summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPedro Barletta Gennari <pedro.pbg@usp.br>2026-04-28 22:29:54 -0300
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:35 +0100
commit4bb316664b7b857a1e57280164813f95a7e05a6a (patch)
treeb14a44119c2f9cd958d3db918f96f3f573b4f3d8 /tools/perf/scripts/python
parent484f68c753373d5f5c02a6014bdc8aa28fb820a3 (diff)
iio: light: iqs621-als: use lock guards
Use guard(mutex)() for handling mutex lock instead of manually locking and unlocking the mutex. This prevents forgotten locks due to early exits and removes the need of gotos. Signed-off-by: Pedro Barletta Gennari <pedro.pbg@usp.br> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions