From: Beiyan Yun Date: Tue, 23 Sep 2025 07:12:58 +0000 (+0800) Subject: net: phy: aquantia: switch to use phy_get_ofnode() X-Git-Tag: v2026.01-rc1~12^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83633e5774a107315f33ee7800a647b74854d48f;p=pandora-u-boot.git 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 --- diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index f63a13824ca..903fcd667f6 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -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;