]> asedeno.scripts.mit.edu Git - linux.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)
commitc598a66491cff68237cb3221fa444e4ca9f0d7f7
treebbafdd218f694178c9dfea3279ce95016f59045c
parentf384e48d7641ef284ae760d150c80920ffc3adbb
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