mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
drm: rcar-du: Use of_graph_get_remote_endpoint()
Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
eaf4bfad6a
commit
51a99751da
@ -309,7 +309,7 @@ static int rcar_du_encoders_init_one(struct rcar_du_device *rcdu,
|
|||||||
return -ENODEV;
|
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) {
|
for_each_endpoint_of_node(entity, ep_node) {
|
||||||
if (ep_node == entity_ep_node)
|
if (ep_node == entity_ep_node)
|
||||||
|
Loading…
Reference in New Issue
Block a user