gpio: remove all usage of gpio_remove retval in driver/gpio
Signed-off-by: abdoulaye berthe <berthe.ab@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:

committed by
Linus Walleij

parent
38ed0187d2
commit
9f5132ae82
@@ -117,7 +117,8 @@ static int tps65912_gpio_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev);
|
||||
|
||||
return gpiochip_remove(&tps65912_gpio->gpio_chip);
|
||||
gpiochip_remove(&tps65912_gpio->gpio_chip);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct platform_driver tps65912_gpio_driver = {
|
||||
|
Reference in New Issue
Block a user