net: phy: Utilize phy_interface_is_rgmii
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 26 May 2015 19:19:59 +0000 (12:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2015 04:27:35 +0000 (00:27 -0400)
commit32a641615a11f769a0c1092a47ce00ced9665e66
tree06900275cad93a08dc9eb52198481df03aacbd01
parente463d88c36d42211aa72ed76d32fb8bf37820ef1
net: phy: Utilize phy_interface_is_rgmii

Update all open-coded tests for all 4 PHY_INTERFACE_MODE_RGMII* values
to use the newly introduced helper: phy_interface_is_rgmii.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c
drivers/net/phy/marvell.c
drivers/net/phy/phy.c