diff options
| author | Masahiro Yamada <[email protected]> | 2015-06-17 11:59:43 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2015-07-15 22:11:02 +0000 |
| commit | 1c8b5d688d7ef401c209f3fc84b7de8296f8908a (patch) | |
| tree | 9e08d8a874fa7855f5624a4adc165bc30203b999 /drivers/gpio/gpio-altera.c | |
| parent | gpio: altera: kill bogus dependency on GPIO_GENERIC (diff) | |
| download | kernel-1c8b5d688d7ef401c209f3fc84b7de8296f8908a.tar.gz kernel-1c8b5d688d7ef401c209f3fc84b7de8296f8908a.zip | |
gpio: altera: fix return value of altera_gpio_remove()
The remove callback never succeeds, which seems odd.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Acked-by: Tien Hock Loh <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
| -rw-r--r-- | drivers/gpio/gpio-altera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 0f3d336d6303..675d15d6e9be 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -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[] = { |
