diff options
| author | Russell King (Oracle) <[email protected]> | 2025-03-12 09:20:36 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 14:53:15 +0000 |
| commit | e3ef12172a839d517cae11e635cd734db2d67449 (patch) | |
| tree | 40cd33ca70de57a852109039e8156f69062102d4 /net/core/dev_api.c | |
| parent | net: stmmac: mediatek: remove of_get_phy_mode() (diff) | |
| download | kernel-e3ef12172a839d517cae11e635cd734db2d67449.tar.gz kernel-e3ef12172a839d517cae11e635cd734db2d67449.zip | |
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) <[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/dev_api.c')
0 files changed, 0 insertions, 0 deletions
