net: tsec: Use dm_eth_phy_connect() directly for the DM case
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 14 Mar 2021 12:14:56 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commitee4d62baa9091b78c714e307d184eddcf54d5b3f
tree5c1b51e702b8aa4e04b5c38287ab2e99ace2d6e0
parentf6806b4709d8fa3cac7fd9a455ac94aee4d7476d
net: tsec: Use dm_eth_phy_connect() directly for the DM case

Now that the fixed phy driver has been fully adapted to OF APIs,
and dm_eth_phy_connect() already can handle the fixed phy, call
dm_eth_phy_connect() directly in the DM tsec driver.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210216224804.3355044-4-olteanv@gmail.com>
[bmeng: split from "net: mdio: teach dm_eth_phy_connect to connect to fixed PHY"]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
drivers/net/tsec.c