ASoC: meson: Use helper function for_each_child_of_node_scoped()
authorAi Chao <aichao@kylinos.cn>
Tue, 3 Jun 2025 05:51:08 +0000 (13:51 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:30:49 +0000 (23:30 +0100)
commit618abc785e0cbe9993f7217c9f8ecb1cd2478e4f
treee2257cd82336761bcd6cc67d8c8d6f565768e8d3
parent077caf1d1763e069239101b4a72351fb38d37f13
ASoC: meson: 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.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505210557.EpJig9BQ-lkp@intel.com/
Signed-off-by: Ai Chao <aichao@kylinos.cn>
Link: https://patch.msgid.link/20250603055109.3154061-4-aichao@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-card.c
sound/soc/meson/meson-card-utils.c