On Sat, Sep 05, 2026 at 09:01:46PM -0700, Ethan Nelson-Moore wrote:
Many Acorn expansion card drivers have module_init and module_exit
functions that only call ecard_register_driver() and
ecard_remove_driver(). The module_driver() macro automatically
generates these functions given the register and unregister functions.
Switch to it to simplify the code.
Signed-off-by: Ethan Nelson-Moore <redacted>
---
drivers/ata/pata_icside.c | 13 +------------
drivers/net/ethernet/i825xx/ether1.c | 13 +------------
drivers/net/ethernet/seeq/ether3.c | 13 +------------
drivers/scsi/arm/acornscsi.c | 13 +------------
drivers/scsi/arm/arxescsi.c | 14 +-------------
drivers/scsi/arm/cumana_1.c | 13 +------------
drivers/scsi/arm/cumana_2.c | 13 +------------
drivers/scsi/arm/eesox.c | 13 +------------
drivers/scsi/arm/oak.c | 14 +-------------
drivers/scsi/arm/powertec.c | 13 +------------
drivers/tty/serial/8250/8250_acorn.c | 13 +------------
I think it would be best to split this patch up on a per-subsystem
of per driver basis. And send patches to appropriate subsystems.
In particular, please break out the net/ changes into a patchset
with one or two patches for net-next.
--
pw-bot: changes-requested