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