]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpio-twl4030.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-twl4030.c
index 826da37052d74813ecc28f46769034e5423fb25a..118828b3736fccd337bcaca90f65e19935809078 100644 (file)
@@ -583,9 +583,7 @@ static int gpio_twl4030_remove(struct platform_device *pdev)
                }
        }
 
-       status = gpiochip_remove(&priv->gpio_chip);
-       if (status < 0)
-               return status;
+       gpiochip_remove(&priv->gpio_chip);
 
        if (is_module())
                return 0;