[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180426223139.16740-10-peda@axentia.se>
Date: Fri, 27 Apr 2018 00:31:24 +0200
From: Peter Rosin <peda@...ntia.se>
To: linux-kernel@...r.kernel.org
Cc: Peter Rosin <peda@...ntia.se>,
Archit Taneja <architt@...eaurora.org>,
Andrzej Hajda <a.hajda@...sung.com>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
David Airlie <airlied@...ux.ie>, Jyri Sarha <jsarha@...com>,
dri-devel@...ts.freedesktop.org
Subject: [PATCH 09/24] drm/bridge: panel: provide an .owner device
It gets rid of an #ifdef and the .of_node member is going away.
Signed-off-by: Peter Rosin <peda@...ntia.se>
---
drivers/gpu/drm/bridge/panel.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c
index 6d99d4a3beb3..279271a1d7e7 100644
--- a/drivers/gpu/drm/bridge/panel.c
+++ b/drivers/gpu/drm/bridge/panel.c
@@ -169,10 +169,8 @@ struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel,
panel_bridge->connector_type = connector_type;
panel_bridge->panel = panel;
+ panel_bridge->bridge.owner = panel->dev;
panel_bridge->bridge.funcs = &panel_bridge_bridge_funcs;
-#ifdef CONFIG_OF
- panel_bridge->bridge.of_node = panel->dev->of_node;
-#endif
drm_bridge_add(&panel_bridge->bridge);
--
2.11.0
Powered by blists - more mailing lists