linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Use helper function for_each_child_of_node_scoped()
@ 2025-05-22  5:02 Ai Chao
  2025-05-22  5:02 ` [PATCH v2 2/6] ASoC: aoa: " Ai Chao
  0 siblings, 1 reply; 11+ messages in thread
From: Ai Chao @ 2025-05-22  5:02 UTC (permalink / raw)
  To: perex, tiwai, johannes, kuninori.morimoto.gx, lgirdwood, broonie,
	jbrunet, neil.armstrong, khilman, martin.blumenstingl,
	shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, shawnguo,
	s.hauer, srinivas.kandagatla
  Cc: linux-sound, linux-kernel, linuxppc-dev, linux-renesas-soc,
	linux-arm-kernel, linux-amlogic, imx, kernel, linux-arm-msm,
	Ai Chao

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-05-30  9:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2aq0nyvyf7t-2aq4hsc7kp6@nsmail7.0.0--kylin--1>
2025-05-23 10:40 ` [PATCH v2 2/6] ASoC: aoa: Use helper function for_each_child_of_node_scoped() Johannes Berg
2025-05-26  8:12   ` Ai Chao
2025-05-26  8:13     ` Johannes Berg
2025-05-26  8:20       ` Ai Chao
2025-05-26  8:21         ` Johannes Berg
2025-05-30  9:30           ` Ai Chao
2025-05-28 19:23         ` Dmitry Baryshkov
2025-05-22  5:02 [PATCH v2 0/6] " Ai Chao
2025-05-22  5:02 ` [PATCH v2 2/6] ASoC: aoa: " Ai Chao
2025-05-22 10:04   ` Johannes Berg
2025-05-23 10:51   ` Christophe Leroy
2025-05-26  8:53     ` Ai Chao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).