diff options
Diffstat (limited to 'drivers/gpio/gpio-rc5t583.c')
-rw-r--r-- | drivers/gpio/gpio-rc5t583.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c index 562b0c4d9cc8..769233d2da6d 100644 --- a/drivers/gpio/gpio-rc5t583.c +++ b/drivers/gpio/gpio-rc5t583.c | |||
@@ -148,7 +148,8 @@ static int rc5t583_gpio_remove(struct platform_device *pdev) | |||
148 | { | 148 | { |
149 | struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev); | 149 | struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev); |
150 | 150 | ||
151 | return gpiochip_remove(&rc5t583_gpio->gpio_chip); | 151 | gpiochip_remove(&rc5t583_gpio->gpio_chip); |
152 | return 0; | ||
152 | } | 153 | } |
153 | 154 | ||
154 | static struct platform_driver rc5t583_gpio_driver = { | 155 | static struct platform_driver rc5t583_gpio_driver = { |