]> git.ipfire.org Git - thirdparty/linux.git/commit
media: xilinx-vipp: Use for_each_child_of_node_scoped()
authorJinjie Ruan <ruanjinjie@huawei.com>
Fri, 23 Aug 2024 09:02:17 +0000 (17:02 +0800)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 17 Jun 2025 08:51:34 +0000 (10:51 +0200)
commit5211354f2cc081c236dc0c21d04d09c1ccb48b88
treed7a5e158e3f59c3585f6045f0a88ca22df01d243
parenta7569179d3b9b341db28dc6b82f9d6507c66ec2d
media: xilinx-vipp: 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: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/xilinx/xilinx-vipp.c