Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321738
b: refs/heads/master
c: 7b7e995
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Aug 16, 2012
1 parent e128876 commit f466d41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af7f2158fdee9d7f55b793b09f8170a3391f889a
refs/heads/master: 7b7e995d69199b555181ac057c47b017c510a129
3 changes: 2 additions & 1 deletion trunk/drivers/extcon/extcon_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ static int __devinit gpio_extcon_probe(struct platform_device *pdev)
if (ret < 0)
return ret;

ret = gpio_request_one(extcon_data->gpio, GPIOF_DIR_IN, pdev->name);
ret = devm_gpio_request_one(&pdev->dev, extcon_data->gpio, GPIOF_DIR_IN,
pdev->name);
if (ret < 0)
goto err;

Expand Down

0 comments on commit f466d41

Please sign in to comment.