[WIP] zorro: Add helper macro for zorro_register_driver boilerplate
This patch introduces the module_zorro_driver macro which is a convenience
macro for Zorro driver modules similar to module_platform_driver. It is
intended to be used by drivers which init/exit section does nothing but
register/unregister the Zorro driver. By using this macro it is possible
to eliminate a few lines of boilerplate code per Zorro driver.
Based on work done by Lars-Peter Clausen <firstname.lastname@example.org> for other
busses (i2c and spi).
Signed-off-by: Geert Uytterhoeven <email@example.com>
Cc: Lars-Peter Clausen <firstname.lastname@example.org>
1 file changed