]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpio-generic.c
Merge tag 'at91-drivers-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / gpio / gpio-generic.c
index fea8c82bb8fcc2a96bfb4135dbeed0845b46d517..16f6115e5bdb5fd8ae2ff32b706f008e2a041d8a 100644 (file)
@@ -398,7 +398,8 @@ static int bgpio_request(struct gpio_chip *chip, unsigned gpio_pin)
 
 int bgpio_remove(struct bgpio_chip *bgc)
 {
-       return gpiochip_remove(&bgc->gc);
+       gpiochip_remove(&bgc->gc);
+       return 0;
 }
 EXPORT_SYMBOL_GPL(bgpio_remove);