瀏覽代碼

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>
Kyle Moffett 13 年之前
父節點
當前提交
ae97159aed
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/of/of_mdio.c

+ 0 - 1
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 */