Skip to content

Commit e47ef30

Browse files
committed
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()
2 parents 72d45a7 + 0bd46d7 commit e47ef30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/sun4i/sun4i_backend.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static int sun4i_backend_of_get_id(struct device_node *node)
312312
struct device_node *remote;
313313
u32 reg;
314314

315-
remote = of_parse_phandle(ep, "remote-endpoint", 0);
315+
remote = of_graph_get_remote_endpoint(ep);
316316
if (!remote)
317317
continue;
318318

0 commit comments

Comments
 (0)