drm/tilcdc: Remove obsolete drm_connector_register() calls
authorJyri Sarha <jsarha@ti.com>
Mon, 17 Oct 2016 21:32:36 +0000 (00:32 +0300)
committerJyri Sarha <jsarha@ti.com>
Tue, 29 Nov 2016 19:03:18 +0000 (21:03 +0200)
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>
drivers/gpu/drm/tilcdc/tilcdc_panel.c
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c

index 2134bb20fbe9d169c6f238ae57cc2685c6e17ea9..ad7a0e8ea5f42a3eb47a0cb0f86d329cd8a47572 100644 (file)
@@ -240,8 +240,6 @@ static struct drm_connector *panel_connector_create(struct drm_device *dev,
        if (ret)
                goto fail;
 
-       drm_connector_register(connector);
-
        return connector;
 
 fail:
index 458043a539959ec08a867aaf98ea4274f78b6693..aabfad882e2395daa8cbb9d52f6f951367bbffbd 100644 (file)
@@ -249,8 +249,6 @@ static struct drm_connector *tfp410_connector_create(struct drm_device *dev,
        if (ret)
                goto fail;
 
-       drm_connector_register(connector);
-
        return connector;
 
 fail: