aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-06-23 15:04:10 +0300
committerBjorn Andersson <[email protected]>2022-09-13 21:58:34 -0500
commit53e1409c181db6a0f532ee7d6b4a3be37e51476d (patch)
treef29ba552c6b2a125d5d5170be8710b34deb9236b /drivers/platform/surface/aggregator/controller.c
parenta6976f85269063e47e5155e5dcfe826b0a3ac8e7 (diff)
clk: qcom: mmcc-msm8960: 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 <[email protected]> Tested-by: David Heidelberg <[email protected]> # tested on Nexus 7 (2013) Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions