diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-04 10:50:15 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-04 20:25:42 +0400 |
commit | fa7f86d157781515b74d658120552eafd890f4de (patch) | |
tree | c8df732db0ec59dc7756f3626eb928eb757b78c5 /drivers/input/mouse/sermouse.c | |
parent | ae584ca473289377dd7fd8c61439db4bfab5489a (diff) | |
download | linux-fa7f86d157781515b74d658120552eafd890f4de.tar.xz |
Input: serio - add helper macro for serio_driver boilerplate
This patch introduces the module_serio_driver macro which is a
convenience macro for serio 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 serio driver. By using this macro it is possible to eliminate
a few lines of boilerplate code per serio 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/mouse/sermouse.c')
0 files changed, 0 insertions, 0 deletions