diff options
| author | Nuno Sa <[email protected]> | 2024-06-18 15:32:06 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-06-25 21:04:49 +0100 |
| commit | e6cab1ad9769a6b03dd1ba7ace106c36de85b1a8 (patch) | |
| tree | fef04b5fb317eb185556f3b0a2d944f242969a21 /tools/perf/scripts/python | |
| parent | d305b7f34ee11c4901b8da150b641bcffbd3e951 (diff) | |
iio: imu: adis: add cleanup based lock helpers
Add two new lock helpers that make use of the cleanup guard() and
scoped_guard() macros. Thus, users won't have to worry about unlocking
which is less prone to errors and allows for simpler error paths.
Signed-off-by: Nuno Sa <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions