mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44650 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user