[PATCH -next v2] gpu: host1x: Use for_each_available_child_of_node_scoped()

Thierry Reding thierry.reding at gmail.com
Wed May 7 16:09:56 UTC 2025


On Fri, Aug 30, 2024 at 03:38:24PM +0800, Jinjie Ruan wrote:
> Avoids the need for manual cleanup of_node_put() in early exits
> from the loop.
> 
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> ---
> v2:
> - Split out from the patch set.
> ---
>  drivers/gpu/host1x/bus.c | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250507/96725fc9/attachment.sig>


More information about the dri-devel mailing list