diff options
author | Douglas Anderson <dianders@chromium.org> | 2020-02-03 10:31:43 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-02-03 23:05:06 -0800 |
commit | 72de7a19ef5b1aff90ab406a2238c72d4dcf6df4 (patch) | |
tree | 138f67bba4a1747a7a10925084b946bcbb90237c /Documentation/media | |
parent | 39c064a0e6052276e9c7a6dc4ab153059496e2ab (diff) | |
download | linux-72de7a19ef5b1aff90ab406a2238c72d4dcf6df4.tar.gz |
clk: qcom: Use ARRAY_SIZE in gpucc-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.10.I3bf44e33f4dc7ecca10a50dbccb7dc082894fa59@changeid Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/media')
0 files changed, 0 insertions, 0 deletions