Hi everyone,
This small series does a bit of cleanup in the dwmad-socfpga glue
driver, especially around the .fix_mac_speed() operation.
It's mostly about re-using existing helpers from the glue driver, as
well as reorganizing the code to make the local private structures a
little bit smaller.
No functionnal changes are intended, this was tested on cyclone V.
Maxime Chevallier (5):
net: stmmac: dwmac-socfpga: Move internal helpers
net: stmmac: dwmac-socfpga: Use the socfpga_sgmii_config() helper
net: stmmac: dwmac-socfpga: Use the correct type for interface modes
net: stmmac: dwmac-socfpga: get the phy_mode with the dedicated helper
net: stmmac: dwmac-sofcpga: Drop the struct device reference
.../ethernet/stmicro/stmmac/dwmac-socfpga.c | 58 +++++++++----------
1 file changed, 28 insertions(+), 30 deletions(-)
--
2.49.0