net: dsa: Do not override PHY interface if already configured
[deliverable/linux.git] / drivers / gpio / gpio-tps6586x.c
index a69fbea41253877566f19c41706c08c97c813837..9c9238e838a95eb6fe7982974b1a4889966544bc 100644 (file)
@@ -137,7 +137,8 @@ static int tps6586x_gpio_remove(struct platform_device *pdev)
 {
        struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev);
 
-       return gpiochip_remove(&tps6586x_gpio->gpio_chip);
+       gpiochip_remove(&tps6586x_gpio->gpio_chip);
+       return 0;
 }
 
 static struct platform_driver tps6586x_gpio_driver = {
This page took 0.02462 seconds and 5 git commands to generate.