]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mvebu: Fix probe cleanup on error
authorAndrew Lunn <andrew@lunn.ch>
Fri, 9 Jan 2015 23:34:48 +0000 (00:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:24 +0000 (17:23 +0100)
commitf2ec7ad4ab64d34e2aff22a75fc60ad4035de1d7
tree67b668d1e46c6e589cbc9765027710f85bb093f1
parent4d135bda758f005eda5eebe5b9cee6ca4e0b7e55
gpio: mvebu: Fix probe cleanup on error

Ensure that when there is an error during probe that the gpiochip is
removed and the generic irq chip is removed.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mvebu.c