phy: mvebu-cp110-comphy: convert to use eth phy mode and submode
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 20 Nov 2018 01:24:23 +0000 (19:24 -0600)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:35 +0000 (10:01 +0530)
commitcccc43b853df4d2663d3890e3365513d55612794
tree4da0a86004f9c5729499f67b0558d84b172740d4
parentc8fe6d7f3f8345ba1d4b4f38d3163f6f94412f0a
phy: mvebu-cp110-comphy: convert to use eth phy mode and submode

Convert mvebu-cp110-comphy PHY driver to use recently introduced
PHY_MODE_ETHERNET and phy_set_mode_ext().

Cc: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
drivers/phy/marvell/phy-mvebu-cp110-comphy.c