net: marvell: mvpp2: use phy_interface_mode_is_8023z() helper
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 4 Feb 2019 23:35:54 +0000 (23:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2019 18:40:28 +0000 (10:40 -0800)
commita47e54a82fa1dd1f4162fa884dee72f9daf999c8
treefb9e3b9dc2606fd3e9668f8ffa3ff57e7d5ef402
parent529f1c201cf99a759799727be79bc4f9c8c945ef
net: marvell: mvpp2: use phy_interface_mode_is_8023z() helper

Use the phy_interface_mode_is_8023z() helper for detecting interface
modes that use 802.3z serial encoding.  This is equivalent to testing
for both 1000base-X and 2500base-X.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c