mbox series

[net-next,00/13] ibm: emac: more cleanups

Message ID 20240930180036.87598-1-rosenp@gmail.com (mailing list archive)
Headers show
Series ibm: emac: more cleanups | expand

Message

Rosen Penev Sept. 30, 2024, 6 p.m. UTC
Added devm for the submodules and removed custom init/exit functions as
EPROBE_DEFER is handled now.

Rosen Penev (13):
  net: ibm: emac: remove custom init/exit functions
  net: ibm: emac: use module_platform_driver for modules
  net: ibm: emac: use devm_platform_ioremap_resource
  net: ibm: emac: use platform_get_irq
  net: ibm: emac: remove bootlist support
  net: ibm: emac: tah: use devm for kzalloc
  net: ibm: emac: tah: devm_platform_get_resources
  net: ibm: emac: rgmii: use devm for kzalloc
  net: ibm: emac: rgmii: devm_platform_get_resource
  net: ibm: emac: zmii: use devm for kzalloc
  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

 drivers/net/ethernet/ibm/emac/core.c  | 169 ++------------------------
 drivers/net/ethernet/ibm/emac/mal.c   |  79 ++++--------
 drivers/net/ethernet/ibm/emac/mal.h   |   4 -
 drivers/net/ethernet/ibm/emac/rgmii.c |  53 ++------
 drivers/net/ethernet/ibm/emac/rgmii.h |   4 -
 drivers/net/ethernet/ibm/emac/tah.c   |  53 ++------
 drivers/net/ethernet/ibm/emac/tah.h   |   4 -
 drivers/net/ethernet/ibm/emac/zmii.c  |  53 ++------
 drivers/net/ethernet/ibm/emac/zmii.h  |   4 -
 9 files changed, 66 insertions(+), 357 deletions(-)