net: mdio: Remove of_phy_attach()
We have no in-tree users, also update the sfp-phylink.rst documentation to indicate that phy_attach_direct() is used instead of of_phy_attach(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
5975655565
commit
96313e1db8
@@ -26,9 +26,6 @@ of_phy_connect(struct net_device *dev, struct device_node *phy_np,
|
||||
struct phy_device *
|
||||
of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
|
||||
void (*hndlr)(struct net_device *));
|
||||
struct phy_device *
|
||||
of_phy_attach(struct net_device *dev, struct device_node *phy_np,
|
||||
u32 flags, phy_interface_t iface);
|
||||
|
||||
struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);
|
||||
int of_phy_register_fixed_link(struct device_node *np);
|
||||
@@ -100,13 +97,6 @@ of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline struct phy_device *of_phy_attach(struct net_device *dev,
|
||||
struct device_node *phy_np,
|
||||
u32 flags, phy_interface_t iface)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np)
|
||||
{
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user