diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-06-09 18:09:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-10 11:44:26 -0400 |
commit | d0b3bbd32f278fb7125133fda755f9d17cf597ad (patch) | |
tree | 4286e05c0ff6c3c495750d4e21ca1528c31bd7b9 /drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | |
parent | drm/amd/display: Fix duplicate included clk_mgr.h (diff) | |
download | linux-dev-d0b3bbd32f278fb7125133fda755f9d17cf597ad.tar.xz linux-dev-d0b3bbd32f278fb7125133fda755f9d17cf597ad.zip |
drm/amd/display: use ARRAY_SIZE for base60_refresh_rates
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an
element.
Clean up the following coccicheck warning:
./drivers/gpu/drm/amd/display/dc/core/dc_resource.c:448:47-48: WARNING:
Use ARRAY_SIZE.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c')
0 files changed, 0 insertions, 0 deletions