projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf4bfa
)
drm: rcar-du: Use of_graph_get_remote_endpoint()
author
Kuninori Morimoto
<
[email protected]
>
Wed, 28 Jun 2017 00:32:17 +0000
(
00:32
+0000)
committer
Laurent Pinchart
<
[email protected]
>
Thu, 3 Aug 2017 13:17:21 +0000
(16:17 +0300)
Now, we can use of_graph_get_remote_endpoint(). Let's use it.
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Laurent Pinchart <
[email protected]
>
drivers/gpu/drm/rcar-du/rcar_du_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
index 5d681ea53be643f6e0c7c90e465438e4e85bbe8d..48961896c53ec48cd14fd0a3d6fd4bb4111ce20a 100644
(file)
--- a/
drivers/gpu/drm/rcar-du/rcar_du_kms.c
+++ b/
drivers/gpu/drm/rcar-du/rcar_du_kms.c
@@
-309,7
+309,7
@@
static int rcar_du_encoders_init_one(struct rcar_du_device *rcdu,
return -ENODEV;
}
- entity_ep_node = of_
parse_phandle(ep->local_node, "remote-endpoint", 0
);
+ entity_ep_node = of_
graph_get_remote_endpoint(ep->local_node
);
for_each_endpoint_of_node(entity, ep_node) {
if (ep_node == entity_ep_node)