Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314682
b: refs/heads/master
c: 119fc00
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and David S. Miller committed Jun 28, 2012
1 parent a62a290 commit 24fb892
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: 5fa9c0fe3ec0a008352d4a4fb8d972a437183404
refs/heads/master: 119fc007766fc6ec6cff0f696d73cebb6f2cbe58
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,8 @@ static void __devinit fec_reset_phy(struct platform_device *pdev)
return;

phy_reset = of_get_named_gpio(np, "phy-reset-gpios", 0);
err = gpio_request_one(phy_reset, GPIOF_OUT_INIT_LOW, "phy-reset");
err = devm_gpio_request_one(&pdev->dev, phy_reset,
GPIOF_OUT_INIT_LOW, "phy-reset");
if (err) {
pr_debug("FEC: failed to get gpio phy-reset: %d\n", err);
return;
Expand Down

0 comments on commit 24fb892

Please sign in to comment.