mbox series

[net-next,0/3] net: stmmac: sunxi cleanups

Message ID Z_5WT_jOBgubjWQg@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: stmmac: sunxi cleanups | expand

Message

Russell King (Oracle) April 15, 2025, 12:51 p.m. UTC
Hi,

This series cleans up the sunxi (sun7i) code in two ways:

1. it converts to use the new set_clk_tx_rate() method, even though
   we don't use clk_tx_i. In doing so, I reformat the function to
   read better, but with no changes to the code.

2. convert from stmmac_dvr_probe() to stmmac_pltfr_probe(), and then
   to its devm variant, which allows code simplification.

 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 58 +++++++++--------------
 1 file changed, 22 insertions(+), 36 deletions(-)