diff options
| author | Russell King (Oracle) <[email protected]> | 2025-03-12 09:20:31 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 14:53:15 +0000 |
| commit | 46f84d700cb88f934ea1e4fc7d9d814e9bcf06f1 (patch) | |
| tree | 686f7cf72b30d58f26f03defe2ff9fb3960b707a /rust/helpers/helpers.c | |
| parent | net: stmmac: qcom-ethqos: remove of_get_phy_mode() (diff) | |
| download | kernel-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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
