Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322456
b: refs/heads/master
c: b27393a
h: refs/heads/master
v: v3
  • Loading branch information
Bin Liu authored and David S. Miller committed Aug 31, 2012
1 parent a566cc5 commit 9e9349c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 599901c3e4204e9d9c5a24df5402cd91617a2a26
refs/heads/master: b27393aecf66199f5ddad37c302d3e0cfadbe6c0
4 changes: 3 additions & 1 deletion trunk/drivers/net/ethernet/ti/davinci_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,10 @@ static int __devexit davinci_mdio_remove(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct davinci_mdio_data *data = dev_get_drvdata(dev);

if (data->bus)
if (data->bus) {
mdiobus_unregister(data->bus);
mdiobus_free(data->bus);
}

if (data->clk)
clk_put(data->clk);
Expand Down

0 comments on commit 9e9349c

Please sign in to comment.