commit | b5b6775d72e8662b5ea7f892bf06db4831e2c1aa | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Sep 23 18:41:22 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 24 19:49:36 2020 -0700 |
tree | 1a26295076806814769f12e895aa033a1964443b | |
parent | e7e95c900338904536f7f7af98d467118909e5eb [diff] |
of: add of_mdio_find_device() api 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 <rmk+kernel@armlinux.org.uk> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>