Re: [PATCH v4 13/15] clk: qcom: Use ARRAY_SIZE in videocc-sc7180 for parent clocks

From: Stephen Boyd
Date: Tue Feb 04 2020 - 12:49:50 EST


Quoting Douglas Anderson (2020-02-03 10:31:46)
> It's nicer to use ARRAY_SIZE instead of hardcoding. Had we always
> been doing this it would have prevented a previous bug. See commit
> 74c31ff9c84a ("clk: qcom: gpu_cc_gmu_clk_src has 5 parents, not 6").
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> ---

Applied to clk-next