Re: [PATCH v2 26/28] drm: rcar-du: lvds: Don't set drm_bridge private pointer

From: Laurent Pinchart
Date: Thu Dec 05 2019 - 08:31:27 EST


Hi Mihail,

Thank you for the patch.

On Wed, Dec 04, 2019 at 11:48:24AM +0000, Mihail Atanassov wrote:
> No functional change: it's not used anywhere.
>
> Signed-off-by: Mihail Atanassov <mihail.atanassov@xxxxxxx>
> ---
> drivers/gpu/drm/rcar-du/rcar_lvds.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c
> index ac1f29bacfcb..168a718cbcbd 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c
> @@ -882,7 +882,7 @@ static int rcar_lvds_probe(struct platform_device *pdev)
> return ret;
>
> drm_bridge_init(&lvds->bridge, &pdev->dev, &rcar_lvds_bridge_ops,
> - NULL, lvds);
> + NULL, NULL);

You can squash this with 25/28.

>
> mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> lvds->mmio = devm_ioremap_resource(&pdev->dev, mem);

--
Regards,

Laurent Pinchart