diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-06-03 14:56:17 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 13:14:37 +1000 |
commit | c23cc4178dd1b8ffa8b47b0df14b2525293aa4b1 (patch) | |
tree | 6620cd2318f6529047a272cb414b7b23915bed71 /drivers/gpu/drm/i915/intel_dvo.c | |
parent | 4a2a450fe26fc8c5e64e6b85d48ed02dc4815ff0 (diff) | |
download | blackbird-op-linux-c23cc4178dd1b8ffa8b47b0df14b2525293aa4b1.tar.gz blackbird-op-linux-c23cc4178dd1b8ffa8b47b0df14b2525293aa4b1.zip |
drm/i915: replace drm_get_connector_name() with direct name field use
Generated using semantic patches:
@@
expression E;
@@
- drm_get_connector_name(&E)
+ E.name
@@
expression E;
@@
- drm_get_connector_name(E)
+ E->name
v2: Turn drm_get_connector_name(&E) into E.name instead of &(E)->name.
Acked-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dvo.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dvo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c index 1604235d58e6..a3631c0a5c28 100644 --- a/drivers/gpu/drm/i915/intel_dvo.c +++ b/drivers/gpu/drm/i915/intel_dvo.c @@ -343,7 +343,7 @@ intel_dvo_detect(struct drm_connector *connector, bool force) { struct intel_dvo *intel_dvo = intel_attached_dvo(connector); DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n", - connector->base.id, drm_get_connector_name(connector)); + connector->base.id, connector->name); return intel_dvo->dev.dev_ops->detect(&intel_dvo->dev); } |