diff options
| author | Russell King (Oracle) <[email protected]> | 2025-03-12 09:20:52 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 14:53:15 +0000 |
| commit | 9886718ad1c5dc26c6b57f5c3eb66f1bf2ba0d06 (patch) | |
| tree | 946c7e0bd87bc2fca8bc95db94bc7cbee5c9e5d5 /net/core/utils.c | |
| parent | net: stmmac: meson8b: remove of_get_phy_mode() (diff) | |
| download | kernel-9886718ad1c5dc26c6b57f5c3eb66f1bf2ba0d06.tar.gz kernel-9886718ad1c5dc26c6b57f5c3eb66f1bf2ba0d06.zip | |
net: stmmac: rk: 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.
Set bsp_priv->phy_iface from plat->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
