aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2025-03-12 09:20:57 +0000
committerPaolo Abeni <[email protected]>2025-03-18 14:53:15 +0000
commit3e2858bb3f59e9158f76746fc4b7d7faaa1cb20e (patch)
treeb1ad12ce50bdca626706f762cf461337af251996 /net/core/utils.c
parentnet: stmmac: rk: remove of_get_phy_mode() (diff)
downloadkernel-3e2858bb3f59e9158f76746fc4b7d7faaa1cb20e.tar.gz
kernel-3e2858bb3f59e9158f76746fc4b7d7faaa1cb20e.zip
net: stmmac: sti: remove of_get_phy_mode()
devm_stmmac_probe_config_dt() already gets the PHY mode from firmware, which is stored in plat_dat->phy_interface. Therefore, we don't need to get it in platform code. Pass plat_dat into sti_dwmac_parse_data(), and set dwmac->interface from plat_dat->phy_interface. Reviewed-by: Michal Kubiak <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions