drm/i915: Add missing 'else' to intel_digital_port_connected()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Feb 2016 14:44:28 +0000 (16:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 15 Feb 2016 17:10:41 +0000 (19:10 +0200)
commit22824fac947bf09959490ea7e1bed2aa7904b65f
treece4b86bd67be067d1add6a8dd6d745fee5568e0b
parent0780cd36c7af70c55981ee624084f0f48cae9b95
drm/i915: Add missing 'else' to intel_digital_port_connected()

intel_digital_port_connected() lacks one 'else'. There's no
actual harm in not having it since each branch has an unconditional
return, so it can't accidentally end up in taking two branches instead
of just the one. But let's be consistent and add the 'else' anyway.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455201868-31527-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c