diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2025-09-23 00:29:42 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-09-24 12:55:47 +0200 |
commit | 8aa035a8407f6b6e999afa33839e38267fdc8790 (patch) | |
tree | 4f852fe2b6dd93f0646d9610663c84f9f1b8dc15 /rust/helpers/processor.c | |
parent | 3969f77f5dd5c69d513a33f350128e61e0e1ab00 (diff) |
HID: playstation: Switch to scoped_guard() in {dualsense|dualshock4}_output_worker()
Those functions were initially excepted from using the scoped_guard()
infrastructure as they contain too many long statements, while adding
yet another level of indentation seemed to lower readability without
bringing an immediate benefit.
However, consistency should be more important, hence do the switch and
get rid of the remaining explicit acquires & releases of the spinlocks.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions