public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] net: ethernet: litex: minor improvment for the codebase
@ 2026-02-27  0:33 Inochi Amaoto
  2026-02-27  0:33 ` [PATCH net-next v3 1/2] net: ethernet: litex: use devm_register_netdev() to register netdev Inochi Amaoto
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Inochi Amaoto @ 2026-02-27  0:33 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Karol Gugala, Mateusz Holenko, Gabriel Somlo,
	Joel Stanley
  Cc: Inochi Amaoto, netdev, linux-kernel, Longbin Li

Improve the litex code for using the device managed function to register
netdev and replace all the "pdev->dev" with dev pointer instead.

Change from v2:
- https://lore.kernel.org/netdev/20260119040446.741970-1-inochiama@gmail.com
1. Apply Andrew' tag
2. patch 2: wrap the line to match the characters limit

Change from v1:
- https://lore.kernel.org/netdev/20260116003150.183070-1-inochiama@gmail.com/
1. separate the original patch into two patches.

Inochi Amaoto (2):
  net: ethernet: litex: use devm_register_netdev() to register netdev
  net: ethernet: litex: use device pointer to simplify code.

 drivers/net/ethernet/litex/litex_liteeth.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

--
2.53.0


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

end of thread, other threads:[~2026-02-28  3:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27  0:33 [PATCH net-next v3 0/2] net: ethernet: litex: minor improvment for the codebase Inochi Amaoto
2026-02-27  0:33 ` [PATCH net-next v3 1/2] net: ethernet: litex: use devm_register_netdev() to register netdev Inochi Amaoto
2026-02-27  0:33 ` [PATCH net-next v3 2/2] net: ethernet: litex: use device pointer to simplify code Inochi Amaoto
2026-02-28  3:40 ` [PATCH net-next v3 0/2] net: ethernet: litex: minor improvment for the codebase 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