commit | 60ca4670fd6436c07cea38472ebcee3b00f03bc7 | [log] [tgz] |
---|---|---|
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | Tue Apr 06 01:47:41 2021 +0300 |
committer | Stephen Boyd <sboyd@kernel.org> | Wed Apr 07 17:25:52 2021 -0700 |
tree | 607d21a9382bc1b34d46bd968f50e158b2934734 | |
parent | b6cf77a7a96154acbb5b57d2d5f4d8710af14353 [diff] |
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>