diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-24 22:16:13 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-03 08:53:31 -0700 |
commit | 02e4f823ce7838321b0c554ab000e1ceb5849c4e (patch) | |
tree | f0663da4b58b12adcc60b75a534be029673f878f /io_uring/sync.h | |
parent | d1212ac94e8168eb6f8d317d59303c7752f615ff (diff) |
Input: lm8323 - use guard notation when acquiring mutexes
This makes the code more compact and error handling more robust
by ensuring that mutexes are released in all code paths when control
leaves critical section.
Link: https://lore.kernel.org/r/20240825051627.2848495-10-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'io_uring/sync.h')
0 files changed, 0 insertions, 0 deletions