aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-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;
}