diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-06-03 14:56:21 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 13:18:40 +1000 |
commit | 8e329a039b510b9f701ad2d536ce6aa0a1544f10 (patch) | |
tree | 8d32f3687848f50e859de1690bb27ad818e81908 /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 259338205c428454515a09654be69a9f6c983513 (diff) | |
download | linux-8e329a039b510b9f701ad2d536ce6aa0a1544f10.tar.bz2 |
drm/i915: replace drm_get_encoder_name() with direct name field use
Generated using semantic patches:
@@
expression E;
@@
- drm_get_encoder_name(&E)
+ E.name
@@
expression E;
@@
- drm_get_encoder_name(E)
+ E->name
v2: Turn drm_get_encoder_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/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 8f49a2964ed5..36f4c15f538b 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2197,7 +2197,7 @@ static void intel_encoder_info(struct seq_file *m, encoder = &intel_encoder->base; seq_printf(m, "\tencoder %d: type: %s, connectors:\n", - encoder->base.id, drm_get_encoder_name(encoder)); + encoder->base.id, encoder->name); for_each_connector_on_encoder(dev, encoder, intel_connector) { struct drm_connector *connector = &intel_connector->base; seq_printf(m, "\t\tconnector %d: type: %s, status: %s", |