driver:gpio remove all usage of gpio_remove retval in driver

this remove all reference to gpio_remove retval in all driver
except pinctrl and gpio. the same thing is done for gpio and
pinctrl in two different patches.

Signed-off-by: Abdoulaye Berthe <[email protected]>
Acked-by: Michael Büsch <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
abdoulaye berthe 2014-07-12 22:30:14 +02:00 • committed by Linus Walleij
commit 88d5e520aa
27 changed files with 52 additions and 129 deletions

View file

@ -671,8 +671,7 @@ static int zynq_gpio_probe(struct platform_device *pdev)
return 0;
err_rm_gpiochip:
if (gpiochip_remove(chip))
dev_err(&pdev->dev, "Failed to remove gpio chip\n");
gpiochip_remove(chip);
err_disable_clk:
clk_disable_unprepare(gpio->clk);