Re: [PATCH 10/20] net: phy: Simplify the logic of phy_connect_fixed()

2021-03-02 Thread Ramon Fried
On Tue, Mar 2, 2021 at 5:36 PM Bin Meng wrote: > > 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 > --- > > drivers/net/phy/phy.c | 18 ++ >

[PATCH 10/20] net: phy: Simplify the logic of phy_connect_fixed()

2021-03-02 Thread Bin Meng
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 --- drivers/net/phy/phy.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/d