projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6a0c4
)
net: ethernet: ti: am65-cpsw-nuss: Replace of_node_to_fwnode() with more suitable API
author
Andy Shevchenko
<andy.shevchenko@gmail.com>
Thu, 22 Aug 2024 23:05:50 +0000
(
02:05
+0300)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 27 Aug 2024 19:56:29 +0000
(12:56 -0700)
of_node_to_fwnode() is a IRQ domain specific implementation of
of_fwnode_handle(). Replace the former with more suitable API.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link:
https://patch.msgid.link/20240822230550.708112-1-andy.shevchenko@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/am65-cpsw-nuss.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/am65-cpsw-nuss.c
b/drivers/net/ethernet/ti/am65-cpsw-nuss.c
index 81d9f21086ec93288a8211437b4d29d9ca1e350d..555aca4ffa249dc4a53058bf1f375a26f3304873 100644
(file)
--- a/
drivers/net/ethernet/ti/am65-cpsw-nuss.c
+++ b/
drivers/net/ethernet/ti/am65-cpsw-nuss.c
@@
-2761,7
+2761,7
@@
am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx)
}
phylink = phylink_create(&port->slave.phylink_config,
- of_
node_to_fwnod
e(port->slave.port_np),
+ of_
fwnode_handl
e(port->slave.port_np),
port->slave.phy_if,
&am65_cpsw_phylink_mac_ops);
if (IS_ERR(phylink))