Skip to content
Commit b1d64c71 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Linus Walleij
Browse files

gpio: ftgpio: Fix an error handling path in 'ftgpio_gpio_probe()'



If 'devm_kcalloc()' fails, we should go through the error handling path,
should some clean-up be needed.

Fixes: 42d9fc71 ("gpio: ftgpio: Pass irqchip when adding gpiochip")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20190822204538.4791-1-christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c7663fa2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment