[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6625e6b1-53a7-4357-99ab-bdf5810e6699@sirena.org.uk>
Date: Thu, 22 May 2025 11:00:37 +0100
From: Mark Brown <broonie@...nel.org>
To: Ai Chao <aichao@...inos.cn>
Cc: perex@...ex.cz, tiwai@...e.com, johannes@...solutions.net,
kuninori.morimoto.gx@...esas.com, lgirdwood@...il.com,
jbrunet@...libre.com, neil.armstrong@...aro.org,
khilman@...libre.com, martin.blumenstingl@...glemail.com,
shengjiu.wang@...il.com, Xiubo.Lee@...il.com, festevam@...il.com,
nicoleotsuka@...il.com, shawnguo@...nel.org, s.hauer@...gutronix.de,
srinivas.kandagatla@...aro.org, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-renesas-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, imx@...ts.linux.dev,
kernel@...gutronix.de, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH v2 1/6] ASoC: ppc: Use helper function
for_each_child_of_node_scoped()
On Thu, May 22, 2025 at 01:02:54PM +0800, Ai Chao wrote:
> 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.
>
> Signed-off-by: Ai Chao <aichao@...inos.cn>
> ---
> sound/ppc/tumbler.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
This is for ALSA, not ASoC (same for patch 2).
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists