Re: [PATCH] gpio: ftgpio: Fix an error handling path in 'ftgpio_gpio_probe()'

From: Linus Walleij
Date: Fri Aug 23 2019 - 06:03:13 EST


On Thu, Aug 22, 2019 at 10:45 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:

> If 'devm_kcalloc()' fails, we should go through the error handling path,
> should some clean-up be needed.
>
> Fixes: 42d9fc7176eb ("gpio: ftgpio: Pass irqchip when adding gpiochip")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Patch applied, thanks!

Yours,
Linus Waleij