diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-03-12 12:20:41 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 17:53:15 +0300 |
commit | f07cb4b4b4816169cd4b051286d1bccff3fef666 (patch) | |
tree | 71f09c34d3f2265bc1dfaf6b818d6dc37f1cdbb2 /net/lapb/lapb_subr.c | |
parent | e3ef12172a839d517cae11e635cd734db2d67449 (diff) | |
download | linux-f07cb4b4b4816169cd4b051286d1bccff3fef666.tar.xz |
net: stmmac: ipq806x: 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 ipq806x_gmac_of_parse(), and set gmac->phy_mode 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/E1tsIGX-005uzl-TQ@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