aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorKyle Moffett <Kyle.D.Moffett@boeing.com>2011-10-20 17:00:09 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-10-25 00:55:52 -0400
commitae97159aed6eff68f4ac86472b018985f071fed5 (patch)
treeaaa3f81ec47a054140af0adbb8c2eb5fc7929235 /drivers/of
parent2b0fce8da2f5b6dc9661be540982416a9e2267f8 (diff)
of_mdio: Don't phy_scan_fixups() twice
The "phy_device_register()" call 5 lines down already calls phy_scan_fixups(), there's no need to do it a second time. Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_mdio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index d35e300b0ad1..980c079e4443 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -83,7 +83,6 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
83 addr); 83 addr);
84 continue; 84 continue;
85 } 85 }
86 phy_scan_fixups(phy);
87 86
88 /* Associate the OF node with the device structure so it 87 /* Associate the OF node with the device structure so it
89 * can be looked up later */ 88 * can be looked up later */