Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51a99751 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Laurent Pinchart
Browse files

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent eaf4bfad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)