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

Linus Walleij linusw at kernel.org
Thu Jul 2 00:58:12 PDT 2026


On Wed, Jul 1, 2026 at 6:57 PM Théo Lebrun <theo.lebrun at bootlin.com> 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 at bootlin.com>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list