diff options
| author | Linus Probert <linus.probert@gmail.com> | 2026-04-03 11:22:06 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-04-03 21:04:43 +0300 |
| commit | 2d23661764450fc37208c2888c91fa320e830d63 (patch) | |
| tree | c40654bfe8df268d06d92c58c2f87389213cf76d /lib/timerqueue.c | |
| parent | eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73 (diff) | |
| download | linux-2d23661764450fc37208c2888c91fa320e830d63.tar.xz | |
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 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
