diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-03-12 12:20:57 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 17:53:15 +0300 |
commit | 3e2858bb3f59e9158f76746fc4b7d7faaa1cb20e (patch) | |
tree | b1ad12ce50bdca626706f762cf461337af251996 /include/linux/fpga/fpga-mgr.h | |
parent | 9886718ad1c5dc26c6b57f5c3eb66f1bf2ba0d06 (diff) | |
download | linux-3e2858bb3f59e9158f76746fc4b7d7faaa1cb20e.tar.xz |
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 <michal.kubiak@intel.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tsIGn-005v02-7G@rmk-PC.armlinux.org.uk
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions