diff options
| author | 2026-04-03 10:22:06 +0200 | |
|---|---|---|
| committer | 2026-04-03 14:04:43 -0400 | |
| commit | 2d23661764450fc37208c2888c91fa320e830d63 (patch) | |
| tree | c40654bfe8df268d06d92c58c2f87389213cf76d /tools/perf/scripts/python | |
| parent | drm/amdgpu: save ring content before resetting the device (diff) | |
drm/amd/display: Replace inline NUM_ELEMENTS macro with ARRAY_SIZE
Replaces the use of local NUM_ELEMENTS macro with the ARRAY_SIZE macro
defined in <linux/array_size.h>.
This aligns with existing coccinelle script array_size.cocci which has
been applied to other sources in order to remove inline
sizeof(a)/sizeof(a[0]) patterns from other source files.
Suggested-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Linus Probert <linus.probert@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
