drm/i915: Remove I915_HAS_HOTPLUG() check from i915_hpd_irq_setup()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Jan 2015 12:21:13 +0000 (14:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Jan 2015 23:45:07 +0000 (00:45 +0100)
The dev_priv->display.hpd_irq_setup hook is optional, so we can move the
I915_HAS_HOTPLUG() check out of i915_hpd_irq_setup() and only set up the
hook when hotplug support is present.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found