aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-09-05 19:58:25 +0300
committerTakashi Iwai <[email protected]>2022-09-06 14:00:43 +0200
commitaca289f7cd233b3c983b43b59cdaa0d934ea3da7 (patch)
treefebd88ca9fdbbeeb2c1d57bb2d13c52cb88c2a34 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent4c8d695cb9bc5f6fd298a586602947b2fc099a64 (diff)
ALSA: hda: cs35l41: Call put_device() in the scope of get_device()
When put_device() is called in another function it's hard to realize that and easy to "fix" the code in a wrong way. Instead, move put_device() to be in the same scope as get_device(), so we prevent appearance of any attempts to "fix" the code. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions