[PATCH] ecard: use module_driver() to avoid repeated boilerplate code
Damien Le Moal
dlemoal at kernel.org
Sun Sep 6 19:12:55 PDT 2026
On 9/6/26 13:01, 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.
>
Would be nice to have this separated into 4 different patches, one for each
subsystem modified.
Anyway, for the ATA bits,
Acked-by: Damien Le Moal <dlemoal at kernel.org>
--
Damien Le Moal
Western Digital Research
More information about the linux-arm-kernel
mailing list