drm/i915: make g4x_digital_port_connected return boolean status
authorJani Nikula <jani.nikula@intel.com>
Thu, 20 Aug 2015 07:47:37 +0000 (10:47 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Aug 2015 09:00:25 +0000 (11:00 +0200)
commit1d245987754f8cd0bf21c77ecda2023ca13ff8c1
tree278624fce976e834e93cd36540cccfa4ca294101
parentb93433ccf64846820b9448f5ff5dd4348b58a8ed
drm/i915: make g4x_digital_port_connected return boolean status

We should not be hitting any of the default cases in
g4x_digital_port_connected, so add MISSING_CASE annotation and return
boolean status. The current behaviour is just cargo culting from the
days of yonder when the display port support was added to i915.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c