aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-02-27 09:53:06 +0100
committerTakashi Iwai <[email protected]>2024-02-28 15:01:22 +0100
commit7dba48a474e68dcdda2b212cea131b4c9ddc7d89 (patch)
tree8033819fa3a1a1096402392d61c97cf5585bc953 /tools/perf/util/scripting-engines/trace-event-python.c
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions