diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-02-27 11:53:06 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-28 17:01:22 +0300 |
commit | 7dba48a474e68dcdda2b212cea131b4c9ddc7d89 (patch) | |
tree | 8033819fa3a1a1096402392d61c97cf5585bc953 /sound/x86/Makefile | |
parent | 3923de04c81733b30b8ed667569632272fdfed9a (diff) | |
download | linux-7dba48a474e68dcdda2b212cea131b4c9ddc7d89.tar.xz |
ALSA: control_led: Use guard() for locking
We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.
A couple of functions that use snd_card_ref() and *_unref() are also
cleaned up with a defined class, too.
Only the code refactoring, and no functional changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240227085306.9764-25-tiwai@suse.de
Diffstat (limited to 'sound/x86/Makefile')
0 files changed, 0 insertions, 0 deletions