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)
commit778eb3344ed1dcd2b1911cb43e3f950216b33d39
treeaa8a0d6a2688160e5891e3be6253ea5684af5c97
parent7c7e10db4698c38403bae9af3b0a684724d93472
drm/i915: Remove I915_HAS_HOTPLUG() check from i915_hpd_irq_setup()

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>
drivers/gpu/drm/i915/i915_irq.c