提交 358155ed 编写于 作者: K Kuninori Morimoto 提交者: Rob Herring

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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 a41cbdf8
...@@ -899,8 +899,8 @@ of_fwnode_graph_get_next_endpoint(struct fwnode_handle *fwnode, ...@@ -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 *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册