diff options
author | Douglas Anderson <dianders@chromium.org> | 2020-02-03 21:31:39 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-02-04 10:05:05 +0300 |
commit | 3696ebe4e1fc45ea391412ff1a82cec9ae4f6e8f (patch) | |
tree | f12280827f2ade11c0b7bf9cbf1aa3995d22b4d8 /Documentation/devicetree | |
parent | c1ef343612cd51a8c97ca3004bffc6db33f639c6 (diff) | |
download | linux-3696ebe4e1fc45ea391412ff1a82cec9ae4f6e8f.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions