summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSachin Mokashi <sachin.mokashi@intel.com>2026-04-27 10:46:19 -0400
committerMark Brown <broonie@kernel.org>2026-04-28 07:44:28 +0900
commitcda1cf0526f1544e67283c019c3654c831cefc6c (patch)
treeb4f193bb7ab78c94251c0889164ed0a68bc4e205 /tools/perf/scripts/python/parallel-perf.py
parentf4d00860e4a70aede0fb95173a5dc12bc89d7ee3 (diff)
ASoC: Intel: cht_bsw_rt5672: Simplify probe() with local 'dev' pointer
In snd_cht_mc_probe(), &pdev->dev is dereferenced repeatedly throughout the function. Introduce a local dev pointer early in the function and use it consistently in place of all open-coded &pdev->dev references. It reduces repetition, improves readability, and aligns with the common kernel driver pattern of caching the device pointer at function entry. Signed-off-by: Sachin Mokashi <sachin.mokashi@intel.com> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20260427144619.1739971-1-sachin.mokashi@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions