summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
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 /scripts/gdb/linux/utils.py
parent3923de04c81733b30b8ed667569632272fdfed9a (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions