summaryrefslogtreecommitdiff
path: root/sound/core/Kconfig
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-02-27 09:53:06 +0100
committerTakashi Iwai <tiwai@suse.de>2024-02-28 15:01:22 +0100
commit7dba48a474e68dcdda2b212cea131b4c9ddc7d89 (patch)
tree8033819fa3a1a1096402392d61c97cf5585bc953 /sound/core/Kconfig
parent3923de04c81733b30b8ed667569632272fdfed9a (diff)
downloadlwn-7dba48a474e68dcdda2b212cea131b4c9ddc7d89.tar.gz
lwn-7dba48a474e68dcdda2b212cea131b4c9ddc7d89.zip
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/core/Kconfig')
0 files changed, 0 insertions, 0 deletions