diff options
| author | Beiyan Yun <[email protected]> | 2025-09-23 15:12:58 +0800 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2025-10-22 11:16:09 +0200 |
| commit | 83633e5774a107315f33ee7800a647b74854d48f (patch) | |
| tree | a67b5528446c174f7a4c58c92afc786bbe11a2e6 /drivers/net/phy | |
| parent | 772703b77e51f8c1685e7daaa9935dc46b21a30e (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/net/phy')
| -rw-r--r-- | drivers/net/phy/aquantia.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
