Merge tag 'stable/for-linus-3.17-b-rc4-tag' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git] / drivers / gpio / gpio-pcf857x.c
index 27b4675..236708a 100644 (file)
@@ -444,9 +444,7 @@ static int pcf857x_remove(struct i2c_client *client)
        if (client->irq)
                pcf857x_irq_domain_cleanup(gpio);
 
-       status = gpiochip_remove(&gpio->chip);
-       if (status)
-               dev_err(&client->dev, "%s --> %d\n", "remove", status);
+       gpiochip_remove(&gpio->chip);
        return status;
 }