mirror of https://gitee.com/openkylin/linux.git
drm/tilcdc: Remove obsolete drm_connector_register() calls
Remove obsolete drm_connector_register() calls from tilcdc_panel.c and tilcdc_tfp410.c. All connectors are registered when drm_dev_register() is called. Signed-off-by: Jyri Sarha <jsarha@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
d701453bd5
commit
15d704e53c
|
@ -240,8 +240,6 @@ static struct drm_connector *panel_connector_create(struct drm_device *dev,
|
||||||
if (ret)
|
if (ret)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
drm_connector_register(connector);
|
|
||||||
|
|
||||||
return connector;
|
return connector;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
|
@ -249,8 +249,6 @@ static struct drm_connector *tfp410_connector_create(struct drm_device *dev,
|
||||||
if (ret)
|
if (ret)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
drm_connector_register(connector);
|
|
||||||
|
|
||||||
return connector;
|
return connector;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue