staging: imx-drm-core: replace drm_get_connector_name() with direct name field use
Generated using semantic patch: @@ expression E; @@ - drm_get_connector_name(E) + 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>
This commit is contained in:
parent
52571ad5f4
commit
4a2a450fe2
|
@ -298,7 +298,7 @@ static int imx_drm_driver_load(struct drm_device *drm, unsigned long flags)
|
|||
dev_err(drm->dev,
|
||||
"[CONNECTOR:%d:%s] drm_sysfs_connector_add failed: %d\n",
|
||||
connector->base.id,
|
||||
drm_get_connector_name(connector), ret);
|
||||
connector->name, ret);
|
||||
goto err_unbind;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue