]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm: rcar-du: lvds: Don't set bridge driver_private field
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 15 Apr 2021 02:16:42 +0000 (05:16 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 28 Jul 2021 13:33:32 +0000 (16:33 +0300)
The drm_bridge.driver_private field is set but never used. Don't set it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_lvds.c

index 1b360e06658cbee5234a7624c38c7b16b1e3a457..0804a2773e56f8471b9f38ccdb77df4a3377f3d2 100644 (file)
@@ -823,7 +823,6 @@ static int rcar_lvds_probe(struct platform_device *pdev)
        if (ret < 0)
                return ret;
 
-       lvds->bridge.driver_private = lvds;
        lvds->bridge.funcs = &rcar_lvds_bridge_ops;
        lvds->bridge.of_node = pdev->dev.of_node;