mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
net: usb: asix: make use of mdiobus_get_phy and phy_connect_direct
In most cases we use own mdio bus, there is no need to create and store string for the PHY address. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
5436fb3fd4
commit
d5f3c81c56
@@ -184,7 +184,6 @@ struct asix_common_private {
|
||||
struct mii_bus *mdio;
|
||||
struct phy_device *phydev;
|
||||
u16 phy_addr;
|
||||
char phy_name[20];
|
||||
bool embd_phy;
|
||||
u8 chipcode;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user