[PATCH v3 26/35] drm/bridge: thc63: Use drm_bridge_init()
Mihail Atanassov
Mihail.Atanassov at arm.com
Tue Dec 24 17:34:44 UTC 2019
No functional change.
v3:
- drop driver_private argument (Laurent)
Signed-off-by: Mihail Atanassov <mihail.atanassov at arm.com>
---
drivers/gpu/drm/bridge/thc63lvd1024.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/bridge/thc63lvd1024.c b/drivers/gpu/drm/bridge/thc63lvd1024.c
index 784f4e4eea05..30f6a76850f8 100644
--- a/drivers/gpu/drm/bridge/thc63lvd1024.c
+++ b/drivers/gpu/drm/bridge/thc63lvd1024.c
@@ -218,10 +218,8 @@ static int thc63_probe(struct platform_device *pdev)
if (ret)
return ret;
- thc63->bridge.of_node = pdev->dev.of_node;
- thc63->bridge.funcs = &thc63_bridge_func;
- thc63->bridge.timings = &thc63->timings;
-
+ drm_bridge_init(&thc63->bridge, &pdev->dev, &thc63_bridge_func,
+ &thc63->timings);
drm_bridge_add(&thc63->bridge);
return 0;
--
2.24.0
More information about the dri-devel
mailing list