aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-10 20:19:54 +0000
committerJohn Crispin <john@openwrt.org>2015-03-10 20:19:54 +0000
commitdaf2140192150dfb740e09c0aede68d242db0fdd (patch)
tree3d26ffa7cf2a4536a9177f74d3cc72b6d2a5f3f9 /target/linux/ar71xx/files/drivers
parent4f581d97bfce649ae4c30b4e62d0f691b942d8e6 (diff)
downloadupstream-daf2140192150dfb740e09c0aede68d242db0fdd.tar.gz
upstream-daf2140192150dfb740e09c0aede68d242db0fdd.tar.bz2
upstream-daf2140192150dfb740e09c0aede68d242db0fdd.zip
ar71xx: fix gpio-latch driver
gpio api has changed. the remove call no longer returns a value. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44650
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/gpio/gpio-latch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/gpio/gpio-latch.c b/target/linux/ar71xx/files/drivers/gpio/gpio-latch.c
index 1efa1a1e13..d911f6a2cb 100644
--- 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;
}