diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-03 23:51:08 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-04 09:25:44 -0700 |
commit | 45b2604eaaa105223ce60117b0482ca8a488f9c4 (patch) | |
tree | 0e08aff7f7a143819a21bd6ff8bd325c2bfc7770 /drivers/input/joystick/grip_mp.c | |
parent | 65ac9f7a23c934ee8c40dc20955e75db4924bfea (diff) |
Input: gameport - add helper macro for gameport_driver boilerplate
This patch introduces the module_gameport_driver macro which is a
convenience macro for gameport driver modules similar to
module_platform_driver. It is intended to be used by drivers
which init/exit section does nothing but registers/unregisters the
gameport driver. By using this macro it is possible to eliminate a
few lines of boilerplate code per gameport driver.
Based on work done by Lars-Peter Clausen <lars@metafoo.de> for
other buses (i2c and spi).
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joystick/grip_mp.c')
0 files changed, 0 insertions, 0 deletions