Re: [PATCH 1/5] gpio: nomadik: convert nmk_gpio_populate_chip() to goto cleanup

From: Linus Walleij

Date: Thu Jul 02 2026 - 03:58:58 EST


On Wed, Jul 1, 2026 at 6:57 PM Théo Lebrun <theo.lebrun@xxxxxxxxxxx> wrote:

> Remove duplicate teardown code that is found in all error if
> statements. Replace by goto-based cleanup labels.
>
> Signed-off-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij