[PATCH net-next v2 1/4] net: mvpp2: take advantage of the is_rgmii helper

2017-09-01 Thread Antoine Tenart
Convert all RGMII checks to use the phy_interface_mode_is_rgmii() helper. This is a cosmetic patch. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/

Re: [PATCH net-next v2 1/4] net: mvpp2: take advantage of the is_rgmii helper

2017-09-01 Thread Andrew Lunn
On Fri, Sep 01, 2017 at 11:04:52AM +0200, Antoine Tenart wrote: > Convert all RGMII checks to use the phy_interface_mode_is_rgmii() > helper. This is a cosmetic patch. > > Signed-off-by: Antoine Tenart Reviewed-by: Andrew Lunn Andrew