diff options
Diffstat (limited to 'drivers/gpio/gpio-tps6586x.c')
-rw-r--r-- | drivers/gpio/gpio-tps6586x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c index a69fbea41253..9c9238e838a9 100644 --- a/drivers/gpio/gpio-tps6586x.c +++ b/drivers/gpio/gpio-tps6586x.c | |||
@@ -137,7 +137,8 @@ static int tps6586x_gpio_remove(struct platform_device *pdev) | |||
137 | { | 137 | { |
138 | struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev); | 138 | struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev); |
139 | 139 | ||
140 | return gpiochip_remove(&tps6586x_gpio->gpio_chip); | 140 | gpiochip_remove(&tps6586x_gpio->gpio_chip); |
141 | return 0; | ||
141 | } | 142 | } |
142 | 143 | ||
143 | static struct platform_driver tps6586x_gpio_driver = { | 144 | static struct platform_driver tps6586x_gpio_driver = { |