diff options
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 | ||