Unverified Commit 111a2c8a authored by Ai Chao's avatar Ai Chao Committed by Mark Brown
Browse files

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: default avatarAi Chao <aichao@kylinos.cn>
Link: https://patch.msgid.link/20250603055109.3154061-5-aichao@kylinos.cn


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 618abc78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment