From: Kyle Moffett Date: Thu, 20 Oct 2011 21:00:09 +0000 (-0400) Subject: of_mdio: Don't phy_scan_fixups() twice X-Git-Tag: v3.2-rc1~150^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ae97159aed6eff68f4ac86472b018985f071fed5;p=linux.git 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 Signed-off-by: Grant Likely --- 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) addr); continue; } - phy_scan_fixups(phy); /* Associate the OF node with the device structure so it * can be looked up later */