diff options
author | Mika Kahola <mika.kahola@intel.com> | 2016-12-13 11:02:47 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-12-13 18:25:26 +0300 |
commit | 1650be744d1b4bbd806ce0e80453ad090a7065c6 (patch) | |
tree | ac6a6627b2ab2eed6e074b6b40678eecbaf20e89 /drivers/gpu/drm/i915/intel_lvds.c | |
parent | c1617abc48a062aed9a146a1009f1977d0da168d (diff) | |
download | linux-1650be744d1b4bbd806ce0e80453ad090a7065c6.tar.xz |
drm/i915: Intel panel detection cleanup
Let's switch to use private dev_priv instead of dev when detecting
intel panels.
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1481616169-16210-2-git-send-email-mika.kahola@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lvds.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index ea1ce17d8e4a..9ca4dc4d2378 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -460,13 +460,13 @@ static bool intel_lvds_compute_config(struct intel_encoder *intel_encoder, static enum drm_connector_status intel_lvds_detect(struct drm_connector *connector, bool force) { - struct drm_device *dev = connector->dev; + struct drm_i915_private *dev_priv = to_i915(connector->dev); enum drm_connector_status status; DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n", connector->base.id, connector->name); - status = intel_panel_detect(dev); + status = intel_panel_detect(dev_priv); if (status != connector_status_unknown) return status; |