Home
last modified time | relevance | path

Searched hist:be3fe0f9ed1ca8e4b2cf3419dfb34be716296487 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.cdiff be3fe0f9ed1ca8e4b2cf3419dfb34be716296487 Fri Sep 08 02:50:13 CDT 2017 Chen-Yu Tsai <wens@csie.org> drm/sun4i: tcon: Simplify sun4i_tcon_find_engine_traverse for one input

Now that sun4i_tcon_find_engine_traverse() usage is restricted to the
single input case, we can remove the for_each_available_child_of_node
loop.

While at it, consolidate all the of_node_put calls into a common exit
path.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170908075016.18657-6-wens@csie.org