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)
commitcd690e48f567642e1c1a2b67e592010e6456082a
treead528d78e36ec2b520d4084d4b024c1d8a65783b
parentbac83c653799d7ea3f6cc4d7396d75adc5e0f778
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