]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: socionext: usb2: Simplify with scoped for each OF child loop
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 2 Jan 2026 12:48:49 +0000 (13:48 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 Jan 2026 14:21:14 +0000 (19:51 +0530)
commitf16741314f68091a8edf116ad5c134a72ffab854
treec0a9db3a91ba5e65c02709d052860229dfdb5bc3
parentbc148def8924e43245c353c52ced47079a5026da
phy: socionext: usb2: 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>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://patch.msgid.link/20260102124848.64474-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/socionext/phy-uniphier-usb2.c