diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-06-26 10:09:00 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-27 15:56:52 +0100 |
commit | 4c0a8899d9c215633ef79805c68b2566c775d43d (patch) | |
tree | 699712e9c7161cf7d2fb6f2212a9f55b87932bd8 /kernel/trace/trace_uprobe.c | |
parent | 04ce935c6b2a8a802750e6b2beda802b61495b7c (diff) |
gpio: siox: Do not call gpiochip_remove() on errorpath
gpiochip_remove() was called on the errorpath if
gpiochip_add() failed: this is wrong, if the chip failed
to add it is not there so it should not be removed.
Fixes: be8c8facc707 ("gpio: new driver to work with a 8x12 siox")
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/trace/trace_uprobe.c')
0 files changed, 0 insertions, 0 deletions