diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2025-06-25 00:56:47 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-09-17 11:33:43 +0200 |
commit | a38d070ffe338710037f6a45767542ce249c61a0 (patch) | |
tree | 9b3a0b95dfbbbdcdb20366d7d12230f95c626235 /rust/helpers/bitmap.c | |
parent | 6c6af4c4dfd3ca734b3507361476ec1774dca477 (diff) |
HID: playstation: Simplify locking with guard() and scoped_guard()
Use guard() and scoped_guard() infrastructure instead of explicitly
acquiring and releasing spinlocks and mutexes to simplify the code and
ensure that all locks are released properly.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Tested-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions