diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-24 18:43:44 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-11-05 14:17:20 -0800 |
| commit | dda8fdb033f48e759ff190c59aa266905ecba3dd (patch) | |
| tree | 38b4dc533f4baef37e2bac26262fabf9a8288c8e /rust/helpers/helpers.c | |
| parent | Input: synaptics-rmi4 - switch to using cleanup functions in F34 (diff) | |
| download | linux-dda8fdb033f48e759ff190c59aa266905ecba3dd.tar.gz linux-dda8fdb033f48e759ff190c59aa266905ecba3dd.zip | |
Input: hilkbd - use guard notation when acquiring spinlock
Using guard notation makes the code more compact and error handling
more robust by ensuring that locks are released in all code paths
when control leaves critical section.
Link: https://lore.kernel.org/r/Zxr30BpPobpM65vO@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
