drm/i915: replace drm_get_encoder_name() with direct name field use
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Jun 2014 11:56:21 +0000 (14:56 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Jun 2014 03:18:40 +0000 (13:18 +1000)
commit8e329a039b510b9f701ad2d536ce6aa0a1544f10
tree8d32f3687848f50e859de1690bb27ad818e81908
parent259338205c428454515a09654be69a9f6c983513
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>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c