drm/mgag200: Remove P_ARRAY_SIZE
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 14 Jul 2021 14:22:30 +0000 (16:22 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:13:37 +0000 (20:13 +0200)
commit83c90cdb7525e9ebb7d0083e2c107601a7a86a39
tree927b5aead636dcf987bf856c98b4834fd40876ea
parent08a709467c17e89c824a36cae76626527a4ccbbe
drm/mgag200: Remove P_ARRAY_SIZE

Replace P_ARRAY_SIZE by array pre-initializing and ARRAY_SIZE(). No
functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210714142240.21979-4-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c