Home
last modified time | relevance | path

Searched hist:b6cf77a7a96154acbb5b57d2d5f4d8710af14353 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clk/qcom/
H A Dgcc-sc8180x.cdiff b6cf77a7a96154acbb5b57d2d5f4d8710af14353 Tue Apr 06 00:47:40 CEST 2021 Dmitry Baryshkov <dmitry.baryshkov@linaro.org> clk: qcom: gcc-sc8180x: use ARRAY_SIZE instead of specifying num_parents

Use ARRAY_SIZE() instead of manually specifying num_parents. This makes
adding/removing entries to/from parent_data easy and errorproof.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210405224743.590029-31-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>