diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-09-28 17:56:09 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-09-29 11:42:12 -0500 |
commit | 994c77ed371e464ae4c1bfc316f7aff7309b2d59 (patch) | |
tree | 05472ba7a8e5b0a89d109cb03efc7064340ef8dd /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | f565f9235a675e6eb5a105daa9b70ffa96aab715 (diff) |
clk: qcom: gcc-msm8939: 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>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928145609.375860-4-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions