aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-04-06 01:47:42 +0300
committerStephen Boyd <sboyd@kernel.org>2021-04-07 17:25:52 -0700
commitc864cd5f506cf53b7f2290009fba6e933a34770d (patch)
tree7ce21209a761b2af40e44f9fc6a43f0b409a4dd1 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent60ca4670fd6436c07cea38472ebcee3b00f03bc7 (diff)
clk: qcom: gcc-sm8250: 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> Link: https://lore.kernel.org/r/20210405224743.590029-33-dmitry.baryshkov@linaro.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions