]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tv: Use drm_mode_set_name() to name TV modes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Nov 2018 16:59:54 +0000 (18:59 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Jan 2019 16:58:43 +0000 (18:58 +0200)
commitb8f979743599917cd8595dd701eaa933d9f980dc
tree18d2da091d3ac746c0ce7ecf04efa782fcf80efa
parent5677ef4791600aff6b931ee2b8f4cba8ff62b5df
drm/i915/tv: Use drm_mode_set_name() to name TV modes

No point in storing the mode names in the array. drm_mode_set_name()
will give us the same names without wasting space for these string
constants.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-11-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_tv.c