[PATCH 1/4] drm/tilcdc: Remove obsolete drm_connector_register() calls
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Oct 19 07:54:34 UTC 2016
Hi Jyri,
Thank you for the patch.
On Wednesday 19 Oct 2016 00:33:53 Jyri Sarha wrote:
> 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 at ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> drivers/gpu/drm/tilcdc/tilcdc_panel.c | 2 --
> drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 2 --
> 2 files changed, 4 deletions(-)
>
> 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 c32c1ef..eea82b4 100644
> --- a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c
> +++ b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c
> @@ -251,8 +251,6 @@ static struct drm_connector
> *tfp410_connector_create(struct drm_device *dev, if (ret)
> goto fail;
>
> - drm_connector_register(connector);
> -
> return connector;
>
> fail:
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list