From: Jyri Sarha Date: Mon, 17 Oct 2016 21:32:36 +0000 (+0300) Subject: drm/tilcdc: Remove obsolete drm_connector_register() calls X-Git-Tag: v4.14-rc1~1644^2~12^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15d704e53c7d870f58558839eadfca7bcb8de5f5;p=platform%2Fkernel%2Flinux-rpi3.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 Reviewed-by: Laurent Pinchart --- diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 2134bb20..ad7a0e8 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c @@ -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: diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c index 458043a..aabfad8 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c @@ -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: