net: mvpp2: take advantage of the is_rgmii helper
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 1 Sep 2017 09:04:52 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:08:25 +0000 (10:08 -0700)
commit1df2270d06fa65c3479e713eb00eca25896db653
tree11f04a6ba4db4ef581a12e16d19c1b15c6b7b1b6
parent0d22a3cf8da164dfc694cc159eabd355f14aba7e
net: mvpp2: take advantage of the is_rgmii helper

Convert all RGMII checks to use the phy_interface_mode_is_rgmii()
helper. This is a cosmetic patch.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c