diff options
| author | Linus Probert <linus.probert@gmail.com> | 2026-04-03 10:22:06 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-04-03 14:04:43 -0400 |
| commit | 2d23661764450fc37208c2888c91fa320e830d63 (patch) | |
| tree | c40654bfe8df268d06d92c58c2f87389213cf76d /include/mtd/git@git.tavy.me:linux-stable.git | |
| parent | eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73 (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 'include/mtd/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
