summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/msg2638.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2022-09-09 12:51:33 +0200
committerBjorn Andersson <andersson@kernel.org>2022-09-13 23:44:54 +0200
commit41872e9f4dde57854fbb9cf0facc75293a8b92d7 (patch)
tree051c892cb824e896ccda58094aac25f2d32276f6 /drivers/input/touchscreen/msg2638.c
parentdt-bindings: clock: qcom,gcc-msm8660: separate GCC bindings for MSM8660 (diff)
downloadlinux-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/msg2638.c')
0 files changed, 0 insertions, 0 deletions