projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58ec58
)
gpio: altera: fix return value of altera_gpio_remove()
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Wed, 17 Jun 2015 11:59:43 +0000
(20:59 +0900)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 15 Jul 2015 22:11:02 +0000
(
00:11
+0200)
The remove callback never succeeds, which seems odd.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Tien Hock Loh <thloh@altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-altera.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-altera.c
b/drivers/gpio/gpio-altera.c
index 0f3d336d6303e9c4745f8da260ae5e7df8299805..675d15d6e9be77cc90e8530d4ac6381cca900f1e 100644
(file)
--- a/
drivers/gpio/gpio-altera.c
+++ b/
drivers/gpio/gpio-altera.c
@@
-340,7
+340,7
@@
static int altera_gpio_remove(struct platform_device *pdev)
gpiochip_remove(&altera_gc->mmchip.gc);
- return
-EIO
;
+ return
0
;
}
static const struct of_device_id altera_gpio_of_match[] = {