]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpu: host1x: Use for_each_available_child_of_node_scoped()
authorJinjie Ruan <ruanjinjie@huawei.com>
Fri, 30 Aug 2024 07:38:24 +0000 (15:38 +0800)
committerThierry Reding <treding@nvidia.com>
Wed, 7 May 2025 16:09:30 +0000 (18:09 +0200)
commit78184f6e3db16c05ad5933b411faa416bb68ac1e
tree22bbe54a65c3385c0a4037db25f32e72febcde78
parent780351a5f61416ed2ba1199cc57e4a076fca644d
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: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20240830073824.3539690-1-ruanjinjie@huawei.com
drivers/gpu/host1x/bus.c