diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-10-20 17:00:09 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-10-25 06:55:52 +0200 |
commit | ae97159aed6eff68f4ac86472b018985f071fed5 (patch) | |
tree | aaa3f81ec47a054140af0adbb8c2eb5fc7929235 /drivers/of | |
parent | 2b0fce8da2f5b6dc9661be540982416a9e2267f8 (diff) | |
download | linux-rpi3-ae97159aed6eff68f4ac86472b018985f071fed5.tar.gz linux-rpi3-ae97159aed6eff68f4ac86472b018985f071fed5.tar.bz2 linux-rpi3-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/of')
-rw-r--r-- | drivers/of/of_mdio.c | 1 |
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) addr); continue; } - phy_scan_fixups(phy); /* Associate the OF node with the device structure so it * can be looked up later */ |