summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-03-12 12:20:36 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 17:53:15 +0300
commite3ef12172a839d517cae11e635cd734db2d67449 (patch)
tree40cd33ca70de57a852109039e8156f69062102d4 /net/lapb/lapb_subr.c
parent46f84d700cb88f934ea1e4fc7d9d814e9bcf06f1 (diff)
downloadlinux-e3ef12172a839d517cae11e635cd734db2d67449.tar.xz
net: stmmac: anarion: 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. Rearrange the initialisation order so we can pass plat_dat into anarion_config_dt(), thereby providing plat_dat->phy_interface as necessary there. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1tsIGS-005uzf-QE@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