Skip to content
Commit 78184f6e authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Thierry Reding
Browse files

gpu: host1x: Use for_each_available_child_of_node_scoped()



Avoids the need for manual cleanup of_node_put() in early exits
from the loop.

Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20240830073824.3539690-1-ruanjinjie@huawei.com
parent 780351a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment