commit | 676fbd3dbf6b74b1369e0fe4baa63d37bb1d8684 | [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 | 188ff18f94174ac828f480d777eae16755efb12e [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>