Commit 0bd46d70 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Maxime Ripard

drm/sun4i: 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 avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 998140d2
...@@ -312,7 +312,7 @@ static int sun4i_backend_of_get_id(struct device_node *node) ...@@ -312,7 +312,7 @@ static int sun4i_backend_of_get_id(struct device_node *node)
struct device_node *remote; struct device_node *remote;
u32 reg; u32 reg;
remote = of_parse_phandle(ep, "remote-endpoint", 0); remote = of_graph_get_remote_endpoint(ep);
if (!remote) if (!remote)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment