提交 ae97159a 编写于 作者: K Kyle Moffett 提交者: Grant Likely

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: NKyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 2b0fce8d
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册