diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-04-06 01:47:41 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-04-08 03:25:52 +0300 |
commit | 60ca4670fd6436c07cea38472ebcee3b00f03bc7 (patch) | |
tree | 607d21a9382bc1b34d46bd968f50e158b2934734 /drivers/clk/samsung | |
parent | b6cf77a7a96154acbb5b57d2d5f4d8710af14353 (diff) | |
download | linux-60ca4670fd6436c07cea38472ebcee3b00f03bc7.tar.xz |
clk: qcom: gcc-sm8150: 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-32-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/samsung')
0 files changed, 0 insertions, 0 deletions