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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
a41cbdf871
commit
358155ede4
|
@ -899,8 +899,8 @@ of_fwnode_graph_get_next_endpoint(struct fwnode_handle *fwnode,
|
||||||
static struct fwnode_handle *
|
static struct fwnode_handle *
|
||||||
of_fwnode_graph_get_remote_endpoint(struct fwnode_handle *fwnode)
|
of_fwnode_graph_get_remote_endpoint(struct fwnode_handle *fwnode)
|
||||||
{
|
{
|
||||||
return of_fwnode_handle(of_parse_phandle(to_of_node(fwnode),
|
return of_fwnode_handle(
|
||||||
"remote-endpoint", 0));
|
of_graph_get_remote_endpoint(to_of_node(fwnode)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct fwnode_handle *
|
static struct fwnode_handle *
|
||||||
|
|
Loading…
Reference in New Issue