projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f581d9
)
ar71xx: fix gpio-latch driver
author
John Crispin
<john@openwrt.org>
Tue, 10 Mar 2015 20:19:54 +0000
(20:19 +0000)
committer
John Crispin
<john@openwrt.org>
Tue, 10 Mar 2015 20:19:54 +0000
(20:19 +0000)
gpio api has changed. the remove call no longer returns a value.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44650
target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
b/target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
index 1efa1a1e13eaa3b46619e23026d17db85914bd8c..d911f6a2cb142af413693c91b20b10fb1744b015 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
+++ b/
target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
@@
-193,7
+193,8
@@
static int gpio_latch_remove(struct platform_device *pdev)
{
struct gpio_latch_chip *glc = platform_get_drvdata(pdev);
- return gpiochip_remove(&glc->gc);;
+ gpiochip_remove(&glc->gc);
+ return 0;
}