linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: stmmac: sunxi cleanups
@ 2025-04-15 12:51 Russell King (Oracle)
  2025-04-15 12:58 ` [PATCH net-next 1/3] net: stmmac: sunxi: convert to set_clk_tx_rate() Russell King (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Russell King (Oracle) @ 2025-04-15 12:51 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: Alexandre Torgue, Andrew Lunn, Chen-Yu Tsai, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Jernej Skrabec, linux-arm-kernel,
	linux-stm32, linux-sunxi, Maxime Coquelin, netdev, Paolo Abeni,
	Samuel Holland

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(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-18  1:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 12:51 [PATCH net-next 0/3] net: stmmac: sunxi cleanups Russell King (Oracle)
2025-04-15 12:58 ` [PATCH net-next 1/3] net: stmmac: sunxi: convert to set_clk_tx_rate() Russell King (Oracle)
2025-04-15 12:58 ` [PATCH net-next 2/3] net: stmmac: sunxi: use stmmac_pltfr_probe() Russell King (Oracle)
2025-04-15 12:58 ` [PATCH net-next 3/3] net: stmmac: sunxi: use devm_stmmac_pltfr_probe() Russell King (Oracle)
2025-04-18  1:51 ` [PATCH net-next 0/3] net: stmmac: sunxi cleanups patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).