diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-06-03 14:56:18 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 13:14:41 +1000 |
commit | 8c6c361ac6490eb3b74593a85ef5ea7d86a8669f (patch) | |
tree | f1e2e72ce03eb74edbc3b417014e40e2f8a9c16c /drivers/gpu/drm/nouveau/nv50_display.c | |
parent | c23cc4178dd1b8ffa8b47b0df14b2525293aa4b1 (diff) | |
download | lwn-8c6c361ac6490eb3b74593a85ef5ea7d86a8669f.tar.gz lwn-8c6c361ac6490eb3b74593a85ef5ea7d86a8669f.zip |
drm/nouveau: 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/nouveau/nv50_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 58af547b0b93..79f6dc724a85 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -2295,7 +2295,7 @@ nv50_display_create(struct drm_device *dev) continue; NV_WARN(drm, "%s has no encoders, removing\n", - drm_get_connector_name(connector)); + connector->name); connector->funcs->destroy(connector); } |