aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/of_clk.h
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2020-02-03 10:31:46 -0800
committerStephen Boyd <sboyd@kernel.org>2020-02-03 23:05:06 -0800
commit563528b831746792cb8a4ab50a757e648c626b3e (patch)
treef982defec13714f76003d343a7e76a735da82fa5 /include/linux/of_clk.h
parentclk: qcom: Get rid of the test clock for videocc-sc7180 (diff)
downloadwireguard-linux-563528b831746792cb8a4ab50a757e648c626b3e.tar.xz
wireguard-linux-563528b831746792cb8a4ab50a757e648c626b3e.zip
clk: qcom: Use ARRAY_SIZE in videocc-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.13.If37e4b1b5553ac9db5ea51e84a6eec286cdf209e@changeid Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/of_clk.h')
0 files changed, 0 insertions, 0 deletions