Browse Source

Merge tag 'sunxi-drm-for-4.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into drm-next

sun4i DRM changes for 4.14, take 2

A single patch switching to a new OF helper.

* tag 'sunxi-drm-for-4.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
  drm/sun4i: use of_graph_get_remote_endpoint()
Dave Airlie 8 years ago
parent
commit
e47ef3029b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/sun4i/sun4i_backend.c

+ 1 - 1
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;
 		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;