OSDN Git Service

isa: Implement the module_isa_driver macro
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 1 May 2016 22:42:47 +0000 (18:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 May 2016 16:32:04 +0000 (09:32 -0700)
commit339e6e31d2bfb40354cbfe672b357b88a88223f2
treee15090dc5916ea254e73097adc7f04c3a157b2b3
parent0619f39474b991244d0a2cbd323915c0e6167b5a
isa: Implement the module_isa_driver macro

The module_isa_driver macro is a helper macro for ISA drivers which do
not do anything special in module init/exit. This eliminates a lot of
boilerplate code. Each module may only use this macro once, and calling
it replaces module_init and module_exit.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/isa.h