]> 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)
commitbd07edaf5da04aa5125897cb761a232c5b9b2bf5
treead528d78e36ec2b520d4084d4b024c1d8a65783b
parent5adfb589f4af20868f06380de419cd534f3ced03
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