linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/22] convert to devm_stmmac_probe_config_dt
@ 2023-09-16  7:58 Jisheng Zhang
  2023-09-16  7:58 ` [PATCH net-next v2 01/23] net: stmmac: dwmac-anarion: use devm_stmmac_probe_config_dt() Jisheng Zhang
                   ` (25 more replies)
  0 siblings, 26 replies; 32+ messages in thread
From: Jisheng Zhang @ 2023-09-16  7:58 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Maxime Coquelin, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Vladimir Zapolskiy, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	Emil Renner Berthing, Samin Guo, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland, Thierry Reding, Nobuhiro Iwamatsu, Russell King,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-amlogic, linux-sunxi,
	linux-tegra, linux-mediatek

Russell pointed out there's a new devm_stmmac_probe_config_dt()
helper now when reviewing my starfive gmac error handling patch[1].
After greping the code, this nice helper was introduced by Bartosz in
[2], I think it's time to convert all dwmac users to this helper and
finally complete the TODO in [2] "but once all users of the old
stmmac_pltfr_remove() are converted to the devres helper, it will be
renamed back to stmmac_pltfr_remove() and the no_dt function removed."

Link: https://lore.kernel.org/netdev/ZOtWmedBsa6wQQ6+@shell.armlinux.org.uk/ [1]
Link: https://lore.kernel.org/all/20230623100417.93592-1-brgl@bgdev.pl/  [2]

Since v1:
 - rebase on new net-next
 - add make stmmac_{probe|remove}_config_dt static as suggested by Russell.

Jisheng Zhang (23):
  net: stmmac: dwmac-anarion: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-dwc-qos-eth: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-generic: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe()
  net: stmmac: dwmac-imx: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-ingenic: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-intel-plat: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-ipq806x: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-lpc18xx: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-mediatek: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-meson: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-meson8b: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-rk: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-socfpga: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-starfive: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-sti: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-stm32: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-sun8i: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-sunxi: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-tegra: use devm_stmmac_probe_config_dt()
  net: stmmac: dwmac-visconti: use devm_stmmac_probe_config_dt()
  net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove
  net: stmmac: make stmmac_{probe|remove}_config_dt static

 .../ethernet/stmicro/stmmac/dwmac-anarion.c   | 10 +--
 .../stmicro/stmmac/dwmac-dwc-qos-eth.c        | 15 +---
 .../ethernet/stmicro/stmmac/dwmac-generic.c   | 15 +---
 .../net/ethernet/stmicro/stmmac/dwmac-imx.c   | 13 ++--
 .../ethernet/stmicro/stmmac/dwmac-ingenic.c   | 33 +++------
 .../stmicro/stmmac/dwmac-intel-plat.c         | 25 +++----
 .../ethernet/stmicro/stmmac/dwmac-ipq806x.c   | 27 +++----
 .../ethernet/stmicro/stmmac/dwmac-lpc18xx.c   | 19 ++---
 .../ethernet/stmicro/stmmac/dwmac-mediatek.c  |  6 +-
 .../net/ethernet/stmicro/stmmac/dwmac-meson.c | 25 ++-----
 .../ethernet/stmicro/stmmac/dwmac-meson8b.c   | 53 +++++---------
 .../net/ethernet/stmicro/stmmac/dwmac-rk.c    | 14 ++--
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   | 16 ++---
 .../ethernet/stmicro/stmmac/dwmac-starfive.c  | 10 +--
 .../net/ethernet/stmicro/stmmac/dwmac-sti.c   | 14 ++--
 .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 17 ++---
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c |  6 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 23 +++---
 .../net/ethernet/stmicro/stmmac/dwmac-tegra.c | 10 ++-
 .../ethernet/stmicro/stmmac/dwmac-visconti.c  | 18 ++---
 .../ethernet/stmicro/stmmac/stmmac_platform.c | 70 ++++++-------------
 .../ethernet/stmicro/stmmac/stmmac_platform.h |  5 --
 22 files changed, 127 insertions(+), 317 deletions(-)

-- 
2.40.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-09-18 20:14 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16  7:58 [PATCH net-next v2 00/22] convert to devm_stmmac_probe_config_dt Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 01/23] net: stmmac: dwmac-anarion: use devm_stmmac_probe_config_dt() Jisheng Zhang
2023-09-18 19:27   ` Serge Semin
2023-09-16  7:58 ` [PATCH net-next v2 02/23] net: stmmac: dwmac-dwc-qos-eth: " Jisheng Zhang
2023-09-18 19:11   ` Serge Semin
2023-09-16  7:58 ` [PATCH net-next v2 03/23] net: stmmac: dwmac-generic: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 04/23] net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe() Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 05/23] net: stmmac: dwmac-imx: use devm_stmmac_probe_config_dt() Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 06/23] net: stmmac: dwmac-ingenic: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 07/23] net: stmmac: dwmac-intel-plat: " Jisheng Zhang
2023-09-18 19:47   ` Serge Semin
2023-09-16  7:58 ` [PATCH net-next v2 08/23] net: stmmac: dwmac-ipq806x: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 09/23] net: stmmac: dwmac-lpc18xx: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 10/23] net: stmmac: dwmac-mediatek: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 11/23] net: stmmac: dwmac-meson: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 12/23] net: stmmac: dwmac-meson8b: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 13/23] net: stmmac: dwmac-rk: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 14/23] net: stmmac: dwmac-socfpga: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 15/23] net: stmmac: dwmac-starfive: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 16/23] net: stmmac: dwmac-sti: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 17/23] net: stmmac: dwmac-stm32: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 18/23] net: stmmac: dwmac-sun8i: " Jisheng Zhang
2023-09-17 14:42   ` Jernej Škrabec
2023-09-16  7:58 ` [PATCH net-next v2 19/23] net: stmmac: dwmac-sunxi: " Jisheng Zhang
2023-09-17 14:43   ` Jernej Škrabec
2023-09-16  7:58 ` [PATCH net-next v2 20/23] net: stmmac: dwmac-tegra: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 21/23] net: stmmac: dwmac-visconti: " Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 22/23] net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove Jisheng Zhang
2023-09-16  7:58 ` [PATCH net-next v2 23/23] net: stmmac: make stmmac_{probe|remove}_config_dt static Jisheng Zhang
2023-09-17 22:25 ` [PATCH net-next v2 00/22] convert to devm_stmmac_probe_config_dt Emil Renner Berthing
2023-09-18 11:50 ` patchwork-bot+netdevbpf
2023-09-18 20:14 ` Serge Semin

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