commit | b34ef727c123825712f3ecb63d3d84538eeec7c7 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Mar 14 20:14:52 2021 +0800 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Thu Apr 15 14:22:17 2021 +0530 |
tree | e860be8958a0fa1678a5e30484572ac558722202 | |
parent | 7e11558a17fd070814cc06fb6eeade2071ede4ca [diff] |
net: phy: Simplify the logic of phy_connect_fixed() Simplify the logic of phy_connect_fixed() by using the new API ofnode_phy_is_fixed_link(), which brings additional bonus of supporting the 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> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>