net: phy: aquantia: switch to use phy_get_ofnode()
Use PHY API phy_get_ofnode() helper to get PHY DT node. Signed-off-by: Beiyan Yun <root@infi.wang>
This commit is contained in:
committed by
Jerome Forissier
parent
772703b77e
commit
83633e5774
@@ -338,7 +338,7 @@ static int aquantia_set_proto(struct phy_device *phydev,
|
||||
|
||||
static int aquantia_dts_config(struct phy_device *phydev)
|
||||
{
|
||||
ofnode node = phydev->node;
|
||||
ofnode node = phy_get_ofnode(phydev);
|
||||
u32 prop;
|
||||
u16 reg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user