gpio: altera: fix return value of altera_gpio_remove()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jun 2015 11:59:43 +0000 (20:59 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jul 2015 22:11:02 +0000 (00:11 +0200)
commit1c8b5d688d7ef401c209f3fc84b7de8296f8908a
tree9e08d8a874fa7855f5624a4adc165bc30203b999
parentd58ec58f40dc188fbb08edaa8c17840f71fe8a0e
gpio: altera: fix return value of altera_gpio_remove()

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