summaryrefslogtreecommitdiff
path: root/drivers/clk/samsung
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-04-06 01:47:41 +0300
committerStephen Boyd <sboyd@kernel.org>2021-04-08 03:25:52 +0300
commit60ca4670fd6436c07cea38472ebcee3b00f03bc7 (patch)
tree607d21a9382bc1b34d46bd968f50e158b2934734 /drivers/clk/samsung
parentb6cf77a7a96154acbb5b57d2d5f4d8710af14353 (diff)
downloadlinux-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