net: phy: xilinx: Be compatible with live OF tree
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:14:50 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commit82e66f766b2eb2515283833d7712b712444759d8
treeb7b8dc4efa578f81bba782b2f764b5923c2f4890
parent5615ab89122348093d32be0af945a1920ad65da0
net: phy: xilinx: Be compatible with live OF tree

Following the same updates that were done to the fixed phy driver,
use ofnode_ APIs instead of fdt_ APIs so that the Xilinx PHY driver
can support live DT.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/net/phy/phy.c
drivers/net/phy/xilinx_gmii2rgmii.c