ASoC: imx-card: Use helper function for_each_child_of_node_scoped()
authorAi Chao <aichao@kylinos.cn>
Tue, 3 Jun 2025 05:51:09 +0000 (13:51 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:30:50 +0000 (23:30 +0100)
commit111a2c8ab462d77d1519b71b46f13ae1b46920b4
tree6784069620a9ea62a1634ae15c1ea8067e9887d0
parent618abc785e0cbe9993f7217c9f8ecb1cd2478e4f
ASoC: imx-card: Use helper function 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.

Signed-off-by: Ai Chao <aichao@kylinos.cn>
Link: https://patch.msgid.link/20250603055109.3154061-5-aichao@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-card.c