summaryrefslogtreecommitdiff
path: root/drivers
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 06:55:52 +0200
commitae97159aed6eff68f4ac86472b018985f071fed5 (patch)
treeaaa3f81ec47a054140af0adbb8c2eb5fc7929235 /drivers
parent2b0fce8da2f5b6dc9661be540982416a9e2267f8 (diff)
downloadlinux-3.10-ae97159aed6eff68f4ac86472b018985f071fed5.tar.gz
linux-3.10-ae97159aed6eff68f4ac86472b018985f071fed5.tar.bz2
linux-3.10-ae97159aed6eff68f4ac86472b018985f071fed5.zip
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')
-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 d35e300b0ad..980c079e444 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)
addr);
continue;
}
- phy_scan_fixups(phy);
/* Associate the OF node with the device structure so it
* can be looked up later */