diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-02-27 09:52:47 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-28 15:01:20 +0100 |
commit | e6684d08cc1935774b07efc262e70b41ac1c0f93 (patch) | |
tree | 49fdf4575986620bdf1318e3ea57c4b8a21c0bf1 /scripts | |
parent | b04892691d2659a592eaaa0444d60eb12cfa4df8 (diff) | |
download | linux-stable-e6684d08cc1935774b07efc262e70b41ac1c0f93.tar.gz linux-stable-e6684d08cc1935774b07efc262e70b41ac1c0f93.tar.bz2 linux-stable-e6684d08cc1935774b07efc262e70b41ac1c0f93.zip |
ALSA: hwdep: Use guard() for locking
We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.
There are still a few remaining explicit mutex_lock/unlock calls, and
those are for the places where we do temporary unlock/relock, which
doesn't fit well with the guard(), so far.
Only the code refactoring, and no functional changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240227085306.9764-6-tiwai@suse.de
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions