diff options
author | abdoulaye berthe <berthe.ab@gmail.com> | 2014-07-12 16:30:14 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-18 14:03:10 -0400 |
commit | 88d5e520aa9701eb3e4f46165e02097cc03d363a (patch) | |
tree | 443b8f89eeaf8933a9d3af2c9928cf0008aa35fd /arch/sh | |
parent | 2134cb997f2f1b2d960ad8705d67dc8d690ba59c (diff) |
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 <berthe.ab@gmail.com>
Acked-by: Michael Büsch <m@bues.ch>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/mach-x3proto/gpio.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sh/boards/mach-x3proto/gpio.c b/arch/sh/boards/mach-x3proto/gpio.c index 3ea65e9b56e8..f035a7ac6456 100644 --- a/arch/sh/boards/mach-x3proto/gpio.c +++ b/arch/sh/boards/mach-x3proto/gpio.c | |||
@@ -128,10 +128,8 @@ int __init x3proto_gpio_setup(void) | |||
128 | return 0; | 128 | return 0; |
129 | 129 | ||
130 | err_irq: | 130 | err_irq: |
131 | ret = gpiochip_remove(&x3proto_gpio_chip); | 131 | gpiochip_remove(&x3proto_gpio_chip); |
132 | if (unlikely(ret)) | 132 | ret = 0; |
133 | pr_err("Failed deregistering GPIO\n"); | ||
134 | |||
135 | err_gpio: | 133 | err_gpio: |
136 | synchronize_irq(ilsel); | 134 | synchronize_irq(ilsel); |
137 | 135 | ||