From: Philipp Zabel Date: Thu, 3 Jul 2014 21:07:49 +0000 (+0200) Subject: drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id X-Git-Tag: omap-for-v4.2/o2_dc~72^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539bb6a248858edd99d8645677345799f37ca51d;p=pandora-kernel.git drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id Using the for_each_... macro should make the code bit shorter and easier to read. This patch also properly decrements the endpoint node reference count before returning out of the loop. Signed-off-by: Philipp Zabel --- Reading git-diff-tree failed