Messages in this thread |  | | From | Ai Chao <> | | Subject | [PATCH 0/6] Use helper function for_each_child_of_node_scoped() | | Date | Tue, 20 May 2025 17:11:25 +0800 |
| |
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()
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 | 14 +++-------- 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 | 39 ++++++++++-------------------- 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, 47 insertions(+), 105 deletions(-)
-- 2.47.1
|  |