dm: mdio: Use ofnode_phy_is_fixed_link() API
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:14:47 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 26 Apr 2021 06:48:35 +0000 (12:18 +0530)
commite5bf3d83f653c66772d27e91c6dbaf9c074a73c8
tree20b3748318cd3ef87f1604597a26ae7accfbccb4
parentcb0d348d5c53b4abc40dc623077e95789efece20
dm: mdio: Use ofnode_phy_is_fixed_link() API

Switch to use the ofnode_phy_is_fixed_link() API which can support
both the new and old DT bindings.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
net/mdio-uclass.c