Skip to content
Snippets Groups Projects
Commit c7d84a45 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Danilo Krummrich
Browse files

drm/nouveau: Use for_each_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 avatarDanilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240830073654.3539640-1-ruanjinjie@huawei.com
parent 7a5115ba
No related branches found
No related tags found
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