drm/armada: use for_each_endpoint_of_node() to walk crtc endpoints
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 24 Jan 2019 09:56:46 +0000 (09:56 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 28 Jun 2019 13:50:07 +0000 (14:50 +0100)
commit989b9a7dd4ab40eb63026754b10527bf1d03bf86
tree9fe7b0561aa9b53abd333daaa19352f3c523efaa
parentf54a5990c32978dcb84ef1d38d22457bf3129797
drm/armada: use for_each_endpoint_of_node() to walk crtc endpoints

Rather than having a nested set of for_each_child_of_node() walkers,
use the graph walker to iterate through the endpoints for CRTCs.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_drv.c