From: Kuninori Morimoto Date: Thu, 10 Aug 2017 04:36:43 +0000 (+0000) Subject: drm/sun4i: use of_graph_get_remote_endpoint() X-Git-Tag: v4.14-rc1~8^2~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bd46d703e0892c6519132c012910982e3e65535;p=platform%2Fkernel%2Flinux-exynos.git drm/sun4i: use of_graph_get_remote_endpoint() Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto Signed-off-by: Maxime Ripard --- diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.c b/drivers/gpu/drm/sun4i/sun4i_backend.c index cf48021..ec59436 100644 --- a/drivers/gpu/drm/sun4i/sun4i_backend.c +++ b/drivers/gpu/drm/sun4i/sun4i_backend.c @@ -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;