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)
commit5023520fd37293f48eeb08429ac5a344a9c19ea4
tree18d2da091d3ac746c0ce7ecf04efa782fcf80efa
parent65ddf7f968b8d3c51b0fcefc43339c69f3bdd546
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