diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-06-09 13:09:26 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-10 18:44:26 +0300 |
| commit | d0b3bbd32f278fb7125133fda755f9d17cf597ad (patch) | |
| tree | 4286e05c0ff6c3c495750d4e21ca1528c31bd7b9 /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | 5d9f730193557be217680d54fa0be6c985f0f328 (diff) | |
| download | linux-d0b3bbd32f278fb7125133fda755f9d17cf597ad.tar.xz | |
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/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions
