Searched hist:"3696 ebe4e1fc45ea391412ff1a82cec9ae4f6e8f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/qcom/ |
H A D | dispcc-sc7180.c | diff 3696ebe4e1fc45ea391412ff1a82cec9ae4f6e8f Mon Feb 03 12:31:39 CST 2020 Douglas Anderson <dianders@chromium.org> clk: qcom: Use ARRAY_SIZE in dispcc-sc7180 for parent clocks
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@chromium.org> Link: https://lkml.kernel.org/r/20200203103049.v4.6.If590c468722d2985cea63adf60c0d2b3098f37d9@changeid Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|