diff options
author | Pandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com> | 2016-09-20 04:24:37 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2016-09-21 19:31:47 +0300 |
commit | 5748be60ea66a7f299fc28bf1ebe3f63a5a266e8 (patch) | |
tree | 3217e72346c61438bb2b35bfa5b323ad8179be15 /drivers/gpu/drm/i915/intel_dp_mst.c | |
parent | bafb2f7d4755bf1571bd5e9a03b97f3fc4fe69ae (diff) | |
download | linux-5748be60ea66a7f299fc28bf1ebe3f63a5a266e8.tar.xz |
drm/i915: Standardize port type for DVO encoders
Changing the return type from 'char' to 'enum port' in
intel_dvo_port_name() makes it easier to later move the port information to
intel_encoder. In addition, the port type conforms to what we have
elsewhere.
Removing the last conditional that handles invalid port because dvo_reg is
intialized to valid values for all DVO devices at definition.
v2: Changed return type, for real (Jani)
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Lyude <cpaul@redhat.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1474334681-22690-2-git-send-email-dhinakaran.pandiyan@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions