Re: [RFC PATCH net-next 03/24] phy: Use phy_read() instead of mdiobus_read()

2016-01-05 Thread Andrew Lunn
On Mon, Jan 04, 2016 at 12:07:43PM -0800, Florian Fainelli wrote: > On 04/01/16 09:36, Andrew Lunn wrote: > > 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 > > --- > > [snip] > > > > diff --git

Re: [RFC PATCH net-next 03/24] phy: Use phy_read() instead of mdiobus_read()

2016-01-04 Thread Florian Fainelli
On 04/01/16 09:36, Andrew Lunn wrote: > 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 > --- [snip] > diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c > index 47cd306dbb3c..67a77956ae6f 10064

[RFC PATCH net-next 03/24] phy: Use phy_read() instead of mdiobus_read()

2016-01-04 Thread Andrew Lunn
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 --- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 104 --- drivers/net/phy/phy.c| 6 +- 2 files changed, 38