diff options
| author | Raffael Raiel Trindade <raffaelraiel@usp.br> | 2026-05-14 17:11:49 -0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:40 +0100 |
| commit | 469ad4d50fb34dc9abc9a47f879f7c07be614ae1 (patch) | |
| tree | 0038c4c7b8f2ec4db5692ab579c9c8b79c1eda79 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 29bf2693c9e31616244cad88fac06a3a3046b069 (diff) | |
iio: light: vcnl4000: use lock guard()
Use guard() and scoped_guard() for handling mutex lock instead of manually
locking and unlocking. Remove gotos in error handling logic. This prevents
forgotten locks on early exits.
Signed-off-by: Raffael Raiel Trindade <raffaelraiel@usp.br>
Co-developed-by: Kim Carvalho <kim.ca@usp.br>
Signed-off-by: Kim Carvalho <kim.ca@usp.br>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
