diff options
| author | 2021-08-29 22:48:19 +0200 | |
|---|---|---|
| committer | 2021-09-14 14:09:47 -0700 | |
| commit | 00ff818888fd436b687dbef457ea5a9135c60b15 (patch) | |
| tree | 344c72ad9c03fa0e29936f5a734c3349371c7947 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.15-rc1 (diff) | |
| download | linux-dev-00ff818888fd436b687dbef457ea5a9135c60b15.tar.xz linux-dev-00ff818888fd436b687dbef457ea5a9135c60b15.zip | |
clk: qcom: gcc-sdm660: Use ARRAY_SIZE for num_parents
Where possible, use ARRAY_SIZE to determine the number of parents in
clk_parent_data instead of hardcoding a number that relies on an array
defined hundreds of lines above.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20210829204822.289829-2-marijn.suijten@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
