gpio: remove all usage of gpio_remove retval in driver/gpio
Signed-off-by: abdoulaye berthe <berthe.ab@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:

committed by
Linus Walleij

parent
38ed0187d2
commit
9f5132ae82
@@ -288,8 +288,7 @@ static int vx855gpio_remove(struct platform_device *pdev)
|
||||
struct vx855_gpio *vg = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
||||
if (gpiochip_remove(&vg->gpio))
|
||||
dev_err(&pdev->dev, "unable to remove gpio_chip?\n");
|
||||
gpiochip_remove(&vg->gpio);
|
||||
|
||||
if (vg->gpi_reserved) {
|
||||
res = platform_get_resource(pdev, IORESOURCE_IO, 0);
|
||||
|
Reference in New Issue
Block a user