diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-06-03 14:56:16 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 13:13:37 +1000 |
commit | 4a2a450fe26fc8c5e64e6b85d48ed02dc4815ff0 (patch) | |
tree | e1318abf84ef0cff5d5c019368a91a21c4591d6a /drivers/staging | |
parent | 52571ad5f4c57067ac593a6bdb1f7a35ed032d27 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/imx-drm/imx-drm-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index 53ff005245c5..6543b349bfb6 100644 --- a/drivers/staging/imx-drm/imx-drm-core.c +++ b/drivers/staging/imx-drm/imx-drm-core.c @@ -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; } } |