]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: rockchip: usb: Simplify with scoped for each OF child loop
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Wed, 24 Dec 2025 12:44:08 +0000 (13:44 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 1 Jan 2026 10:58:56 +0000 (16:28 +0530)
commit943dbe1470529d7191dccdb56ee0bff83d3606c5
tree929c9b06874fcc2a2feb49716d577b831fd64864
parentfe4bc1a08638309b6be1af37210930b856908eb7
phy: rockchip: usb: Simplify with scoped for each OF child loop

Use scoped for-each loop when iterating over device nodes to make code a
bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251224124407.208354-4-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-usb.c