[PATCH net-next v2 0/2] net: ethernet: litex: minor improvment for the codebase
From: Inochi Amaoto <inochiama@gmail.com>
Date: 2026-01-19 04:04:57
Also in:
lkml
From: Inochi Amaoto <inochiama@gmail.com>
Date: 2026-01-19 04:04:57
Also in:
lkml
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/ (local) 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