diff options
| author | Pedro Barletta Gennari <pedro.pbg@usp.br> | 2026-04-28 22:29:54 -0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:35 +0100 |
| commit | 4bb316664b7b857a1e57280164813f95a7e05a6a (patch) | |
| tree | b14a44119c2f9cd958d3db918f96f3f573b4f3d8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 484f68c753373d5f5c02a6014bdc8aa28fb820a3 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
