Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 539bb6a2 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 7416f4e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment