[PATCH net-next v2 0/2] net: ethernet: litex: minor improvment for the codebase

From: Inochi Amaoto

Date: Sun Jan 18 2026 - 23:04:57 EST


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@xxxxxxxxx/
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