git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772703b
)
net: phy: aquantia: switch to use phy_get_ofnode()
author
Beiyan Yun
<root@infi.wang>
Tue, 23 Sep 2025 07:12:58 +0000
(15:12 +0800)
committer
Jerome Forissier
<jerome.forissier@linaro.org>
Wed, 22 Oct 2025 09:16:09 +0000
(11:16 +0200)
Use PHY API phy_get_ofnode() helper to get PHY DT node.
Signed-off-by: Beiyan Yun <root@infi.wang>
drivers/net/phy/aquantia.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/aquantia.c
b/drivers/net/phy/aquantia.c
index
f63a138
..
903fcd6
100644
(file)
--- 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 = phy
dev->node
;
+ ofnode node = phy
_get_ofnode(phydev)
;
u32 prop;
u16 reg;