Re: [PATCH net-next 2/5] net: dsa: use slave device phydev

2017-09-26 Thread Florian Fainelli
On 09/26/2017 02:15 PM, Vivien Didelot wrote: > There is no need to store a phy_device in dsa_slave_priv since > net_device already provides one. Simply s/p->phy/dev->phydev/. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 2/5] net: dsa: use slave device phydev

2017-09-26 Thread Andrew Lunn
On Tue, Sep 26, 2017 at 05:15:32PM -0400, Vivien Didelot wrote: > There is no need to store a phy_device in dsa_slave_priv since > net_device already provides one. Simply s/p->phy/dev->phydev/. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 2/5] net: dsa: use slave device phydev

2017-09-26 Thread Vivien Didelot
There is no need to store a phy_device in dsa_slave_priv since net_device already provides one. Simply s/p->phy/dev->phydev/. Signed-off-by: Vivien Didelot --- net/dsa/dsa_priv.h | 1 - net/dsa/slave.c| 116 - 2 files changed, 53 insertio