[PATCH net-next 00/14] ibm: emac: cleanup modules

Rosen Penev posted 14 patches 1 month, 3 weeks ago
drivers/net/ethernet/ibm/emac/mal.c   | 107 ++++++++++----------------
drivers/net/ethernet/ibm/emac/rgmii.c |  49 ++++--------
drivers/net/ethernet/ibm/emac/tah.c   |  49 ++++--------
drivers/net/ethernet/ibm/emac/zmii.c  |  49 ++++--------
4 files changed, 79 insertions(+), 175 deletions(-)
[PATCH net-next 00/14] ibm: emac: cleanup modules
Posted by Rosen Penev 1 month, 3 weeks ago
The modules are fairly old and as such can benefit from devm management.

All except ZMII tested on a Cisco MX60W. No problems found.

Rosen Penev (14):
  net: ibm: emac: tah: use devm for kzalloc
  net: ibm: emac: tah: use devm for mutex_init
  net: ibm: emac: tah: devm_platform_get_resources
  net: ibm: emac: rgmii: use devm for kzalloc
  net: ibm: emac: rgmii: use devm for mutex_init
  net: ibm: emac: rgmii: devm_platform_get_resource
  net: ibm: emac: zmii: use devm for kzalloc
  net: ibm: emac: zmii: use devm for mutex_init
  net: ibm: emac: zmii: devm_platform_get_resource
  net: ibm: emac: mal: use devm for kzalloc
  net: ibm: emac: mal: use devm for request_irq
  net: ibm: emac: mal: move irq maps down
  net: ibm: emac: mal: add dcr_unmap to _remove
  net: ibm: emac: mal: move dcr map down

 drivers/net/ethernet/ibm/emac/mal.c   | 107 ++++++++++----------------
 drivers/net/ethernet/ibm/emac/rgmii.c |  49 ++++--------
 drivers/net/ethernet/ibm/emac/tah.c   |  49 ++++--------
 drivers/net/ethernet/ibm/emac/zmii.c  |  49 ++++--------
 4 files changed, 79 insertions(+), 175 deletions(-)

-- 
2.46.2
Re: [PATCH net-next 00/14] ibm: emac: cleanup modules
Posted by Jakub Kicinski 1 month, 3 weeks ago
On Sat,  5 Oct 2024 19:28:30 -0700 Rosen Penev wrote:
> The modules are fairly old and as such can benefit from devm management.
> 
> All except ZMII tested on a Cisco MX60W. No problems found.

Only send the second batch once the first one is merged.