commit | 539bb6a248858edd99d8645677345799f37ca51d | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Thu Jul 03 23:07:49 2014 +0200 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Wed Apr 08 11:14:26 2015 +0200 |
tree | 8ab15ba97423eba1daed520c69210c2cf8ca21e1 | |
parent | 7416f4e33b5e924baa030ddab1f261a0a85fa32e [diff] |
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 <p.zabel@pengutronix.de>