Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c8b5d68 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij
Browse files

gpio: altera: fix return value of altera_gpio_remove()



The remove callback never succeeds, which seems odd.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Acked-by: default avatarTien Hock Loh <thloh@altera.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d58ec58f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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[] = {