net: phy: marvell10g: clean up interface mode switching
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Dec 2017 12:46:32 +0000 (12:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 20:00:49 +0000 (15:00 -0500)
commit36c4449a949c47ca152901758ee3c6175df35231
tree4d7ac2dbc9217833a05afbab8007cfcf0631c280
parentea4efe25ec937a7bc1108e26261c9dd4082375af
net: phy: marvell10g: clean up interface mode switching

Centralise the PHY interface mode switching, rather than having it in
two places.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c