drm/vc4: kms: Rename NUM_CHANNELS
authorMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 13:56:52 +0000 (14:56 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 19 Nov 2020 13:45:03 +0000 (14:45 +0100)
commita9661f27dc6bfbb6869b07cf68f9c2fd05167746
tree8ce7708cfbec7729c9b56839e6b5d6e1689df6e1
parent213189dbe7a1d7b1032aca4eacb0348a3ed67823
drm/vc4: kms: Rename NUM_CHANNELS

The NUM_CHANNELS define has a pretty generic name and was right before the
function using it. Let's move to something that makes the hardware-specific
nature more obvious, and to a more appropriate place.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105135656.383350-4-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c