diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-04-06 01:47:40 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-04-07 17:25:52 -0700 |
commit | b6cf77a7a96154acbb5b57d2d5f4d8710af14353 (patch) | |
tree | d1a9ab3cfebd2d17f837c312e011863e64f26c28 /drivers/clk/clk.h | |
parent | e957ca2a930ad42e47bf5c9ea2a7afa0960ec1d8 (diff) |
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>
Diffstat (limited to 'drivers/clk/clk.h')
0 files changed, 0 insertions, 0 deletions