From: Ville Syrjälä Date: Fri, 9 Jan 2015 12:21:13 +0000 (+0200) Subject: drm/i915: Remove I915_HAS_HOTPLUG() check from i915_hpd_irq_setup() X-Git-Tag: fixes-v4.0-rc1~91^2~32^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778eb3344ed1dcd2b1911cb43e3f950216b33d39;p=pandora-kernel.git 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ä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed