[PATCH v2 0/6] Use helper function for_each_child_of_node_scoped()
Ai Chao
aichao at kylinos.cn
Thu May 22 15:02:53 AEST 2025
This patch series introduces wrapper functions for_each_child_of_node_scoped().
The for_each_child_of_node_scoped() helper provides a scope-based clean-up
functionality to put the device_node automatically, and as such, there is
no need to call of_node_put() directly.
Thus, use this helper to simplify the code.
Summary:
- Patch 1 ASoC: ppc: Use helper function for_each_child_of_node_scoped()
- Patch 2 ASoC: aoa: Use helper function for_each_child_of_node_scoped()
- Patch 3 ASoC: renesas: Use helper function for_each_child_of_node_scoped()
- Patch 4 ASoC: meson: Use helper function for_each_child_of_node_scoped()
- Patch 5 ASoC: imx-card: Use helper function for_each_child_of_node_scoped()
- Patch 6 ASoC: qcom: Use helper function for_each_child_of_node_scoped()
---
Changes in v2:
- Fix error reported by kernel test rebot
- Keep "node"
---
sound/aoa/soundbus/i2sbus/core.c | 5 +++--
sound/ppc/tumbler.c | 5 ++---
sound/soc/fsl/imx-card.c | 13 +++++------
sound/soc/meson/axg-card.c | 3 +--
sound/soc/meson/meson-card-utils.c | 16 +++++---------
sound/soc/qcom/lpass-cpu.c | 3 +--
sound/soc/qcom/qdsp6/q6afe-dai.c | 3 +--
sound/soc/qcom/qdsp6/q6asm-dai.c | 4 +---
sound/soc/renesas/rcar/core.c | 35 ++++++++++--------------------
sound/soc/renesas/rcar/ctu.c | 8 ++-----
sound/soc/renesas/rcar/dma.c | 4 +---
sound/soc/renesas/rcar/dvc.c | 8 ++-----
sound/soc/renesas/rcar/mix.c | 8 ++-----
sound/soc/renesas/rcar/src.c | 10 ++-------
sound/soc/renesas/rcar/ssi.c | 18 +++++----------
sound/soc/renesas/rcar/ssiu.c | 7 ++----
16 files changed, 46 insertions(+), 104 deletions(-)
--
2.47.1
More information about the Linuxppc-dev
mailing list