mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
2134cb997f
commit
88d5e520aa
27 changed files with 52 additions and 129 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue