From: Jisheng Zhang <jszhang@kernel.org>
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Jose Abreu <joabreu@synopsys.com>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Vladimir Zapolskiy <vz@mleia.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Emil Renner Berthing <kernel@esmil.dk>,
Samin Guo <samin.guo@starfivetech.com>,
Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
Russell King <linux@armlinux.org.uk>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next 00/22] convert to devm_stmmac_probe_config_dt
Date: Tue, 29 Aug 2023 18:40:11 +0800 [thread overview]
Message-ID: <20230829104033.955-1-jszhang@kernel.org> (raw)
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]
Jisheng Zhang (22):
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
.../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 | 12 ++---
.../ethernet/stmicro/stmmac/stmmac_platform.c | 23 ++------
.../ethernet/stmicro/stmmac/stmmac_platform.h | 1 -
22 files changed, 110 insertions(+), 277 deletions(-)
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Jisheng Zhang <jszhang@kernel.org>
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Jose Abreu <joabreu@synopsys.com>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Vladimir Zapolskiy <vz@mleia.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Emil Renner Berthing <kernel@esmil.dk>,
Samin Guo <samin.guo@starfivetech.com>,
Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
Russell King <linux@armlinux.org.uk>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next 00/22] convert to devm_stmmac_probe_config_dt
Date: Tue, 29 Aug 2023 18:40:11 +0800 [thread overview]
Message-ID: <20230829104033.955-1-jszhang@kernel.org> (raw)
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]
Jisheng Zhang (22):
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
.../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 | 12 ++---
.../ethernet/stmicro/stmmac/stmmac_platform.c | 23 ++------
.../ethernet/stmicro/stmmac/stmmac_platform.h | 1 -
22 files changed, 110 insertions(+), 277 deletions(-)
--
2.40.1
next reply other threads:[~2023-08-29 10:53 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 10:40 Jisheng Zhang [this message]
2023-08-29 10:40 ` [PATCH net-next 00/22] convert to devm_stmmac_probe_config_dt Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 01/22] net: stmmac: dwmac-anarion: use devm_stmmac_probe_config_dt() Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 02/22] net: stmmac: dwmac-dwc-qos-eth: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 03/22] net: stmmac: dwmac-generic: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 04/22] net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe() Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 05/22] net: stmmac: dwmac-imx: use devm_stmmac_probe_config_dt() Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 06/22] net: stmmac: dwmac-ingenic: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 07/22] net: stmmac: dwmac-intel-plat: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 08/22] net: stmmac: dwmac-ipq806x: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 09/22] net: stmmac: dwmac-lpc18xx: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 10/22] net: stmmac: dwmac-mediatek: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 11/22] net: stmmac: dwmac-meson: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 12/22] net: stmmac: dwmac-meson8b: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 13/22] net: stmmac: dwmac-rk: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 14/22] net: stmmac: dwmac-socfpga: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 15/22] net: stmmac: dwmac-starfive: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 16/22] net: stmmac: dwmac-sti: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 17/22] net: stmmac: dwmac-stm32: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 18/22] net: stmmac: dwmac-sun8i: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 19/22] net: stmmac: dwmac-sunxi: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 20/22] net: stmmac: dwmac-tegra: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 21/22] net: stmmac: dwmac-visconti: " Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 10:40 ` [PATCH net-next 22/22] net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove Jisheng Zhang
2023-08-29 10:40 ` Jisheng Zhang
2023-08-29 11:21 ` [PATCH net-next 00/22] convert to devm_stmmac_probe_config_dt Russell King (Oracle)
2023-08-29 11:21 ` Russell King (Oracle)
2023-08-29 11:29 ` Jisheng Zhang
2023-08-29 11:29 ` Jisheng Zhang
2023-08-29 13:22 ` Emil Renner Berthing
2023-08-29 13:22 ` Emil Renner Berthing
2023-08-29 13:27 ` Emil Renner Berthing
2023-08-29 13:27 ` Emil Renner Berthing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230829104033.955-1-jszhang@kernel.org \
--to=jszhang@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=festevam@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=jernej.skrabec@gmail.com \
--cc=joabreu@synopsys.com \
--cc=jonathanh@nvidia.com \
--cc=kernel@esmil.dk \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=martin.blumenstingl@googlemail.com \
--cc=matthias.bgg@gmail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=netdev@vger.kernel.org \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=s.hauer@pengutronix.de \
--cc=samin.guo@starfivetech.com \
--cc=samuel@sholland.org \
--cc=shawnguo@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=vz@mleia.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.