gpio: remove all usage of gpio_remove retval in driver/gpio
[deliverable/linux.git] / drivers / gpio / gpio-ich.c
index 70304220a479a9862f4f5709e6a9a88a785b487d..3784e81e7762aa0f8d25dff0bc11030e80d9c59d 100644 (file)
@@ -514,14 +514,7 @@ add_err:
 
 static int ichx_gpio_remove(struct platform_device *pdev)
 {
-       int err;
-
-       err = gpiochip_remove(&ichx_priv.chip);
-       if (err) {
-               dev_err(&pdev->dev, "%s failed, %d\n",
-                               "gpiochip_remove()", err);
-               return err;
-       }
+       gpiochip_remove(&ichx_priv.chip);
 
        ichx_gpio_release_regions(ichx_priv.gpio_base, ichx_priv.use_gpio);
        if (ichx_priv.pm_base)
This page took 0.039408 seconds and 5 git commands to generate.