drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 3 Jul 2014 20:59:51 +0000 (22:59 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 8 Apr 2015 09:14:25 +0000 (11:14 +0200)
commit7416f4e33b5e924baa030ddab1f261a0a85fa32e
tree413aa5ce065483e6d7529b66a9043e2418785033
parent01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66
drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs

Using the for_each_... macro should make the code a bit shorter and
easier to read.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/drm_of.c