]> git.baikalelectronics.ru Git - kernel.git/commit
phy: Use phy_read() instead of mdiobus_read()
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:08 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:24 +0000 (14:31 -0500)
commit6dbeda876f937ff88e13a2b1929aef882ec49291
treead528d78e36ec2b520d4084d4b024c1d8a65783b
parent52b81e8b149507220b003b17f447ef83d4de8fde
phy: Use phy_read() instead of mdiobus_read()

Since we have a phydev, make use of it and the phy_read() function.
This will help with later refactoring.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c