diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-09-09 12:51:33 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-09-13 23:44:54 +0200 |
commit | 41872e9f4dde57854fbb9cf0facc75293a8b92d7 (patch) | |
tree | 051c892cb824e896ccda58094aac25f2d32276f6 /drivers/input/touchscreen/wacom_w8001.c | |
parent | dt-bindings: clock: qcom,gcc-msm8660: separate GCC bindings for MSM8660 (diff) | |
download | linux-41872e9f4dde57854fbb9cf0facc75293a8b92d7.tar.xz linux-41872e9f4dde57854fbb9cf0facc75293a8b92d7.zip |
clk: qcom: gcc-msm8660: 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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220909105136.3733919-3-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/input/touchscreen/wacom_w8001.c')
0 files changed, 0 insertions, 0 deletions