[PATCH 6/6] ASoC: qcom: Use helper function for_each_child_of_node_scoped()
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue May 20 19:19:50 AEST 2025
On 20/05/2025 11:11, 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.
I do not see any of_node_put() there, so I don't understand what is the
benefit of this and how this commit msg explains reason behind the change.
Best regards,
Krzysztof
More information about the Linuxppc-dev
mailing list