[PATCH v2 2/6] ASoC: aoa: Use helper function for_each_child_of_node_scoped()

Ai Chao aichao at kylinos.cn
Mon May 26 18:12:22 AEST 2025


Hi Johannes:

>> "simplifies the code" is no need to callof_node_put() .
> Fair. Except that's not what you _actually_ changed here. Like I said,
> either it's buggy before or after.
>
In the function i2sbus_probe, it not return a struct device_node, so , I 
think function for_each_child_of_node_scoped is better than 
for_each_child_of_node.

Best regards,
Ai Chao


More information about the Linuxppc-dev mailing list