Re: [PATCH net-next v2 2/3] of: add of_mdio_find_device() api

2020-09-23 Thread Andrew Lunn
On Wed, Sep 23, 2020 at 06:41:22PM +0300, Ioana Ciornei wrote: > From: Russell King > > Add a helper function which finds the mdio_device structure given a > device tree node. This is helpful for finding the PCS device based on a > DTS node but managing it as a mdio_device instead of a phy_device

[PATCH net-next v2 2/3] of: add of_mdio_find_device() api

2020-09-23 Thread Ioana Ciornei
From: Russell King Add a helper function which finds the mdio_device structure given a device tree node. This is helpful for finding the PCS device based on a DTS node but managing it as a mdio_device instead of a phy_device. Signed-off-by: Russell King Signed-off-by: Ioana Ciornei --- Changes