[PATCH 16/24] drm/bridge: ti-tfp410: provide an .owner device
Peter Rosin
peda at axentia.se
Thu Apr 26 22:31:31 UTC 2018
The .of_node member is going away.
Signed-off-by: Peter Rosin <peda at axentia.se>
---
drivers/gpu/drm/bridge/ti-tfp410.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
index acb857030951..7e5938e988be 100644
--- a/drivers/gpu/drm/bridge/ti-tfp410.c
+++ b/drivers/gpu/drm/bridge/ti-tfp410.c
@@ -215,8 +215,8 @@ static int tfp410_init(struct device *dev)
return -ENOMEM;
dev_set_drvdata(dev, dvi);
+ dvi->bridge.owner = dev;
dvi->bridge.funcs = &tfp410_bridge_funcs;
- dvi->bridge.of_node = dev->of_node;
dvi->dev = dev;
ret = tfp410_get_connector_properties(dvi);
--
2.11.0
More information about the dri-devel
mailing list