Commit f7f3ddb6 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Tomi Valkeinen
Browse files

gpu: drm: use for_each_endpoint_of_node()

parent 16c9898a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -242,8 +242,7 @@ static void omapdss_walk_device(struct device *dev, struct device_node *node,

	of_node_put(n);

	n = NULL;
	while ((n = of_graph_get_next_endpoint(node, n)) != NULL) {
	for_each_endpoint_of_node(node, n) {
		struct device_node *pn = of_graph_get_remote_port_parent(n);

		if (!pn)