diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-03-12 12:20:26 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 17:53:15 +0300 |
commit | 8ee1c926f31e9b13a67a235ba8cf7c05f37f4296 (patch) | |
tree | 40a21f5db5192fc1a30cb98bd3b3e24f7c3c7e05 /net/lapb/lapb_subr.c | |
parent | 15492700ac41459b54a6683490adcee350ab11e3 (diff) | |
download | linux-8ee1c926f31e9b13a67a235ba8cf7c05f37f4296.tar.xz |
net: stmmac: qcom-ethqos: 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 a second time in qcom_ethqos_probe(). Use
plat_dat->phy_interface to initialise ethqos->phy_mode.
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tsIGI-005uzT-KB@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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions