summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mc33880.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-08-22 23:45:38 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-08-23 13:02:34 +0300
commitb1d64c7139c1ec673bac8be88b27caf02cf73118 (patch)
treedcfd34b9a6e5b653ccefc79ab0bb2d746964478e /drivers/gpio/gpio-mc33880.c
parentc7663fa2a6631e5dddc1b7b2ba2e905ddffaff90 (diff)
downloadlinux-b1d64c7139c1ec673bac8be88b27caf02cf73118.tar.xz
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: 42d9fc7176eb ("gpio: ftgpio: Pass irqchip when adding gpiochip") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/20190822204538.4791-1-christophe.jaillet@wanadoo.fr Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mc33880.c')
0 files changed, 0 insertions, 0 deletions