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

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@ static int sun4i_backend_of_get_id(struct device_node *node)
		struct device_node *remote;
		u32 reg;

		remote = of_parse_phandle(ep, "remote-endpoint", 0);
		remote = of_graph_get_remote_endpoint(ep);
		if (!remote)
			continue;