[PATCH net-next v3 0/2] net: ethernet: litex: minor improvment for the codebase
From: Inochi Amaoto
Date: Thu Feb 26 2026 - 19:34:24 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 v2:
- https://lore.kernel.org/netdev/20260119040446.741970-1-inochiama@xxxxxxxxx
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@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 | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
--
2.53.0