mbox series

[net-next,00/12] ibm: emac: cleanup modules to use devm

Message ID 20241030203727.6039-1-rosenp@gmail.com (mailing list archive)
Headers show
Series ibm: emac: cleanup modules to use devm | expand

Message

Rosen Penev Oct. 30, 2024, 8:37 p.m. UTC
simplifies probe and removes remove functions. These drivers are small.

Rosen Penev (12):
  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

 drivers/net/ethernet/ibm/emac/mal.c   | 88 +++++++++------------------
 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, 69 insertions(+), 166 deletions(-)