]> 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)
commit1b1998c70b809fa081104942d32100d8fce31b69
treebbafdd218f694178c9dfea3279ce95016f59045c
parent37ef20bd9f7776debafbef40551fd89ec399bfa4
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