phy: ocelot-serdes: convert to use eth phy mode and submode
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 20 Nov 2018 01:24:22 +0000 (19:24 -0600)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:35 +0000 (10:01 +0530)
commitc8fe6d7f3f8345ba1d4b4f38d3163f6f94412f0a
tree061fcfdbf798eb3d89df89a7850a6b8d8726f91a
parent2af8caeee47846a84bc96abc3a72f7c991153040
phy: ocelot-serdes: convert to use eth phy mode and submode

Convert ocelot-serdes PHY driver to use recently introduced
PHY_MODE_ETHERNET and phy_set_mode_ext().

Cc: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com>
Tested-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/net/ethernet/mscc/ocelot.c
drivers/phy/mscc/phy-ocelot-serdes.c