[PATCH 2/2] drm/mediatek: Switch to for_each_child_of_node_scoped()

Chen-Yu Tsai wenst at chromium.org
Mon Oct 28 07:00:43 UTC 2024


On Sat, Oct 12, 2024 at 3:22 AM Javier Carrasco
<javier.carrasco.cruz at gmail.com> wrote:
>
> 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: Chen-Yu Tsai <wenst at chromium.org>


More information about the dri-devel mailing list