aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-12-04 14:45:03 +0200
committerBjorn Andersson <[email protected]>2022-12-06 12:26:57 -0600
commit4e74e921ea0c576682ffd7981af1d4a73ceaca11 (patch)
tree0d0a3e7c7c677d4bbd0f8cf4063e8b57949aa518 /drivers/fpga/xilinx-spi.c
parentff81be97120b6bb79f1239a184bb0c851d7ed9a7 (diff)
clk: qcom: mmcc-msm8974: 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. Reviewed-by: Neil Armstrong <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions