]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/sdvo: Use named initializers for the SDVO command names
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 19 Jun 2019 18:03:08 +0000 (21:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Jul 2019 15:13:11 +0000 (18:13 +0300)
commit94cc8f8c018dddd96a3616da16154e30bc58e7de
treebbafdd218f694178c9dfea3279ce95016f59045c
parentfeda9981c38920a695164987561abb22c1ca0f03
drm/i915/sdvo: Use named initializers for the SDVO command names

Use named initializers to make it easier to associate the SDVO debug
prints with the SDVO command defines. Also switch to using ARRAY_SIZE()
instead of assuming that SDVO_CMD_STATUS_SCALING_NOT_SUPP is the last
command type.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190619180312.31817-2-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/display/intel_sdvo.c