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

Commit 358155ed authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Rob Herring
Browse files

device property: use of_graph_get_remote_endpoint() for of_fwnode



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 avatarRob Herring <robh@kernel.org>
parent a41cbdf8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -899,8 +899,8 @@ of_fwnode_graph_get_next_endpoint(struct fwnode_handle *fwnode,
static struct fwnode_handle *
of_fwnode_graph_get_remote_endpoint(struct fwnode_handle *fwnode)
{
	return of_fwnode_handle(of_parse_phandle(to_of_node(fwnode),
						 "remote-endpoint", 0));
	return of_fwnode_handle(
		of_graph_get_remote_endpoint(to_of_node(fwnode)));
}

static struct fwnode_handle *