Re: [net-next PATCH v5 5/6] phylink: introduce phylink_fwnode_phy_connect()

2020-07-10 Thread Andy Shevchenko
On Fri, Jul 10, 2020 at 7:32 PM Calvin Johnson wrote: > > Define phylink_fwnode_phy_connect() to connect phy specified by > a fwnode to a phylink instance. ... > +int phylink_fwnode_phy_connect(struct phylink *pl, > + struct fwnode_handle *fwnode, > +

[net-next PATCH v5 5/6] phylink: introduce phylink_fwnode_phy_connect()

2020-07-10 Thread Calvin Johnson
Define phylink_fwnode_phy_connect() to connect phy specified by a fwnode to a phylink instance. Signed-off-by: Calvin Johnson --- Changes in v5: - return -EINVAL for invalid fwnode Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/phy/phylink.c | 35