diff options
Diffstat (limited to 'drivers/gpio/gpio-da9052.c')
-rw-r--r-- | drivers/gpio/gpio-da9052.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c index 416cdf786b05..c5bccd4dec96 100644 --- a/drivers/gpio/gpio-da9052.c +++ b/drivers/gpio/gpio-da9052.c | |||
@@ -237,7 +237,8 @@ static int da9052_gpio_remove(struct platform_device *pdev) | |||
237 | { | 237 | { |
238 | struct da9052_gpio *gpio = platform_get_drvdata(pdev); | 238 | struct da9052_gpio *gpio = platform_get_drvdata(pdev); |
239 | 239 | ||
240 | return gpiochip_remove(&gpio->gp); | 240 | gpiochip_remove(&gpio->gp); |
241 | return 0; | ||
241 | } | 242 | } |
242 | 243 | ||
243 | static struct platform_driver da9052_gpio_driver = { | 244 | static struct platform_driver da9052_gpio_driver = { |