aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-06-23 15:04:06 +0300
committerBjorn Andersson <[email protected]>2022-09-13 21:58:34 -0500
commitd247abe67bd1a819b87f08fe673081ce5f1fd529 (patch)
treebdd6538462b0846057a9a568d0bd71f2e7a003e8 /drivers/platform/surface/aggregator/controller.c
parent861466d4fbdaa7d5256a116ee2756422a764c938 (diff)
clk: qcom: gcc-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