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