ar71xx: fix gpio-latch driver

gpio api has changed. the remove call no longer returns a value.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44650
This commit is contained in:
John Crispin 2015-03-10 20:19:54 +00:00
parent 4f581d97bf
commit daf2140192

View File

@ -193,7 +193,8 @@ static int gpio_latch_remove(struct platform_device *pdev)
{
struct gpio_latch_chip *glc = platform_get_drvdata(pdev);
return gpiochip_remove(&glc->gc);;
gpiochip_remove(&glc->gc);
return 0;
}