]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mscc: use mdiobus_get_phy()
authorMichael Walle <michael@walle.cc>
Sun, 19 Apr 2020 08:27:57 +0000 (10:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:07:22 +0000 (12:07 -0700)
commit229f17d0416394a11fc9c1bba1427c645c58e0dc
treecda973a330569df57bdf9acde3af82cb9ac9fe58
parent48330d6592bbe8b42e1d5e77481e10b688a62ebe
net: phy: mscc: use mdiobus_get_phy()

Don't use internal knowledge of the mdio bus core, instead use
mdiobus_get_phy() which does the same thing.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc_main.c