]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpio/gpio-generic.c
gpio: remove all usage of gpio_remove retval in driver/gpio
[mirror_ubuntu-artful-kernel.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);