[PATCH 2/2] drm/mediatek: Switch to for_each_child_of_node_scoped()
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Oct 28 02:09:42 PDT 2024
Il 11/10/24 21:21, Javier Carrasco ha scritto:
> Introduce the scoped variant of the loop to automatically release the
> child node when it goes out of scope, which is more robust than the
> non-scoped variant, and accounts for new early exits that could be added
> in the future.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz at gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list