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

From: Rosen Penev
Date: Sat Oct 05 2024 - 22:29:29 EST


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