summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2025-06-12 15:49:00 +0800
committerMark Brown <broonie@kernel.org>2025-06-12 13:45:38 +0100
commitbb8d8ba4715cb8f997d63d90ba935f6073595df5 (patch)
treea8a931de469d1c9b050bb7634b6eac9481613b69 /scripts/gdb/linux/interrupts.py
parentb2c090c9f6aa9d19f4c966233d7fcb872255f83b (diff)
ASoC: mediatek: mt8183-afe-pcm: use local `dev` pointer in driver callbacks
The probe and remove functions in the mt8183-afe-pcm driver repeatedly uses `&pdev->dev` for |struct device *|, but then assigns this value to `afe->dev` and uses that in other places in the same function. Store `&pdev->dev` in a local pointer and use that exclusively to avoid the numerous dereferences and to make the code more consistent. Lines are reflowed where it makes sense. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://patch.msgid.link/20250612074901.4023253-10-wenst@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions