[PATCH 07/11] phy: qcom: qmp-pcie-msm8996: Simplify with scoped for each OF child loop

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Thu Aug 29 02:02:46 PDT 2024


On Mon, Aug 26, 2024 at 12:07:23PM GMT, Krzysztof Kozlowski wrote:
> Use scoped for_each_available_child_of_node_scoped() when iterating over
> device nodes to make code a bit simpler.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>  drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


-- 
With best wishes
Dmitry



More information about the Linux-mediatek mailing list