diff options
author | Dmitry Baryshkov <[email protected]> | 2022-09-09 13:51:33 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-09-13 16:44:54 -0500 |
commit | 41872e9f4dde57854fbb9cf0facc75293a8b92d7 (patch) | |
tree | 051c892cb824e896ccda58094aac25f2d32276f6 /drivers/platform/surface/aggregator/controller.c | |
parent | c027fa892b02cf43ed239bac0ccf0e1edbcead7b (diff) |
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 <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
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