ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/8] net: Simplified with scoped function
@ 2024-08-30  3:13 Jinjie Ruan
  2024-08-30  3:13 ` [PATCH net-next v4 1/8] net: stmmac: dwmac-sun8i: Use for_each_child_of_node_scoped() Jinjie Ruan
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Jinjie Ruan @ 2024-08-30  3:13 UTC (permalink / raw)
  To: woojung.huh, andrew, f.fainelli, olteanv, davem, edumazet, kuba,
	pabeni, linus.walleij, alsi, justin.chen, sebastian.hesselbarth,
	alexandre.torgue, joabreu, mcoquelin.stm32, wens, jernej.skrabec,
	samuel, hkallweit1, linux, UNGLinuxDriver, netdev,
	bcm-kernel-feedback-list, linux-arm-kernel, linux-sunxi,
	linux-stm32, krzk, jic23
  Cc: ruanjinjie

Simplify with scoped for each OF child loop, as well as dev_err_probe().

Changes in v4:
- Drop the fix patch and __free() patch.
- Rebased on the fix patch has been stripped out.
- Remove the extra parentheses.
- Ensure Signed-off-by: should always be last.
- Add Reviewed-by.
- Update the cover letter commit message.

Changes in v3:
- Sort the variables, longest first, shortest last.
- Add Reviewed-by.

Changes in v2:
- Subject prefix: next -> net-next.
- Split __free() from scoped for each OF child loop clean.
- Fix use of_node_put() instead of __free() for the 5th patch.

Jinjie Ruan (8):
  net: stmmac: dwmac-sun8i: Use for_each_child_of_node_scoped()
  net: dsa: realtek: Use for_each_child_of_node_scoped()
  net: phy: Use for_each_available_child_of_node_scoped()
  net: mdio: mux-mmioreg: Simplified with scoped function
  net: mdio: mux-mmioreg: Simplified with dev_err_probe()
  net: mv643xx_eth: Simplify with scoped for each OF child loop
  net: dsa: microchip: Use scoped function to simplfy code
  net: bcmasp: Simplify with scoped for each OF child loop

 drivers/net/dsa/microchip/ksz_common.c        |  5 +-
 drivers/net/dsa/realtek/rtl8366rb.c           |  8 ++-
 drivers/net/ethernet/broadcom/asp2/bcmasp.c   |  5 +-
 drivers/net/ethernet/marvell/mv643xx_eth.c    |  5 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c |  6 +--
 drivers/net/mdio/mdio-mux-mmioreg.c           | 54 ++++++++-----------
 drivers/net/phy/phy_device.c                  |  5 +-
 7 files changed, 35 insertions(+), 53 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-09-03 12:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  3:13 [PATCH net-next v4 0/8] net: Simplified with scoped function Jinjie Ruan
2024-08-30  3:13 ` [PATCH net-next v4 1/8] net: stmmac: dwmac-sun8i: Use for_each_child_of_node_scoped() Jinjie Ruan
2024-09-02 15:26   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 2/8] net: dsa: realtek: " Jinjie Ruan
2024-09-02  8:22   ` Linus Walleij
2024-09-02 15:26   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 3/8] net: phy: Use for_each_available_child_of_node_scoped() Jinjie Ruan
2024-09-02 15:26   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 4/8] net: mdio: mux-mmioreg: Simplified with scoped function Jinjie Ruan
2024-09-02 15:27   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 5/8] net: mdio: mux-mmioreg: Simplified with dev_err_probe() Jinjie Ruan
2024-09-02 15:29   ` Florian Fainelli
2024-09-03 12:53     ` Andrew Lunn
2024-08-30  3:13 ` [PATCH net-next v4 6/8] net: mv643xx_eth: Simplify with scoped for each OF child loop Jinjie Ruan
2024-09-02 15:29   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 7/8] net: dsa: microchip: Use scoped function to simplfy code Jinjie Ruan
2024-09-02 15:29   ` Florian Fainelli
2024-08-30  3:13 ` [PATCH net-next v4 8/8] net: bcmasp: Simplify with scoped for each OF child loop Jinjie Ruan
2024-09-03 11:00 ` [PATCH net-next v4 0/8] net: Simplified with scoped function 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