aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2025-03-12 09:20:31 +0000
committerPaolo Abeni <[email protected]>2025-03-18 14:53:15 +0000
commit46f84d700cb88f934ea1e4fc7d9d814e9bcf06f1 (patch)
tree686f7cf72b30d58f26f03defe2ff9fb3960b707a /net/core/dev_api.c
parentnet: stmmac: qcom-ethqos: remove of_get_phy_mode() (diff)
downloadkernel-46f84d700cb88f934ea1e4fc7d9d814e9bcf06f1.tar.gz
kernel-46f84d700cb88f934ea1e4fc7d9d814e9bcf06f1.zip
net: stmmac: mediatek: 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. Initialise priv_plat->phy_mode from plat->phy_interface inmediatek_dwmac_common_data(). 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/dev_api.c')
0 files changed, 0 insertions, 0 deletions