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:
Beiyan Yun
2025-10-22 11:16:09 +02:00
committed by Jerome Forissier
parent 772703b77e
commit 83633e5774
+1 -1
View File
@@ -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;