drm: drop drm_get_connector_name() and drm_get_encoder_name()

No longer used or needed as the structs have a name field.

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:
Jani Nikula
2014-06-03 14:56:23 +03:00
committed by Dave Airlie
parent 83a8cfd3d7
commit d5ab2b430b
2 changed files with 0 additions and 22 deletions

View File

@@ -256,26 +256,6 @@ void drm_connector_ida_destroy(void)
ida_destroy(&drm_connector_enum_list[i].ida);
}
/**
* drm_get_encoder_name - return a string for encoder
* @encoder: the encoder to get name for
*/
const char *drm_get_encoder_name(const struct drm_encoder *encoder)
{
return encoder->name;
}
EXPORT_SYMBOL(drm_get_encoder_name);
/**
* drm_get_connector_name - return a string for connector
* @connector: the connector to get name for
*/
const char *drm_get_connector_name(const struct drm_connector *connector)
{
return connector->name;
}
EXPORT_SYMBOL(drm_get_connector_name);
/**
* drm_get_connector_status_name - return a string for connector status
* @status: connector status to compute name of