public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net: ethernet: litex: minor improvment for the codebase
@ 2026-01-19  4:04 Inochi Amaoto
  2026-01-19  4:04 ` [PATCH net-next v2 1/2] net: ethernet: litex: use devm_register_netdev() to register netdev Inochi Amaoto
  2026-01-19  4:04 ` [PATCH net-next v2 2/2] net: ethernet: litex: use device pointer to simplify code Inochi Amaoto
  0 siblings, 2 replies; 5+ messages in thread
From: Inochi Amaoto @ 2026-01-19  4:04 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, Yixun Lan, 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 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 | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

--
2.52.0


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

end of thread, other threads:[~2026-01-21 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19  4:04 [PATCH net-next v2 0/2] net: ethernet: litex: minor improvment for the codebase Inochi Amaoto
2026-01-19  4:04 ` [PATCH net-next v2 1/2] net: ethernet: litex: use devm_register_netdev() to register netdev Inochi Amaoto
2026-01-21 13:28   ` Andrew Lunn
2026-01-19  4:04 ` [PATCH net-next v2 2/2] net: ethernet: litex: use device pointer to simplify code Inochi Amaoto
2026-01-21 13:30   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox