Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae97159a authored by Kyle Moffett's avatar Kyle Moffett Committed by Grant Likely
Browse files

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: default avatarKyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 2b0fce8d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 */