Greg Kroah-Hartman
08642e7c52
USB: convert drivers/input/* to use module_usb_driver()
...
This converts the drivers in drivers/input/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.
Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Ville Syrjala <syrjala@sci.fi >
Cc: Henk Vergonet <Henk.Vergonet@gmail.com >
Cc: Alessandro Rubini <rubini@ipvvis.unipv.it >
Cc: Henrik Rydberg <rydberg@euromail.se >
Cc: "Magnus Hörlin" <magnus@alefors.se >
Cc: Chris Moeller <kode54@gmail.c>
Cc: Christoph Fritz <chf.fritz@googlemail.com >
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi >
Cc: Jesper Juhl <jj@chaosbits.net >
Cc: Edwin van Vliet <edwin@cheatah.nl >
Cc: Ping Cheng <pingc@wacom.com >
Cc: Eduard Hasenleithner <eduard@hasenleithner.at >
Cc: Alexander Strakh <strakh@ispras.ru >
Cc: Glenn Sommer <gsommer@datanordisk.dk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-11-18 09:48:31 -08:00
Lucas De Marchi
25985edced
Fix common misspellings
...
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi >
2011-03-31 11:26:23 -03:00
Daniel Mack
997ea58eb9
USB: rename usb_buffer_alloc() and usb_buffer_free() users
...
For more clearance what the functions actually do,
usb_buffer_alloc() is renamed to usb_alloc_coherent()
usb_buffer_free() is renamed to usb_free_coherent()
They should only be used in code which really needs DMA coherency.
All call sites have been changed accordingly, except for staging
drivers.
Signed-off-by: Daniel Mack <daniel@caiaq.de >
Cc: Alan Stern <stern@rowland.harvard.edu >
Cc: Pedro Ribeiro <pedrib@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-05-20 13:21:38 -07:00
Harvey Harrison
ea3e6c5926
Input: replace remaining __FUNCTION__ occurrences
...
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Dmitry Torokhov <dtor@mail.ru >
2008-05-16 14:45:58 -04:00
Julia Lawall
3b04a61107
Input: drop redundant includes of moduleparam.h
...
Drop #include <linux/moduleparam.h> in files that also include
linux/module.h, since module.h includes moduleparam.h already.
Signed-off-by: Julia Lawall <julia@diku.dk >
Signed-off-by: Dmitry Torokhov <dtor@mail.ru >
2008-01-21 01:11:07 -05:00
Dmitry Torokhov
1953ea2d8d
Input: keyspan_remote - add support for loadable keymaps
...
Signed-off-by: Dmitry Torokhov <dtor@mail.ru >
2008-01-21 01:11:06 -05:00
Jiri Slaby
7b19ada2ed
get rid of input BIT* duplicate defines
...
get rid of input BIT* duplicate defines
use newly global defined macros for input layer. Also remove includes of
input.h from non-input sources only for BIT macro definiton. Define the
macro temporarily in local manner, all those local definitons will be
removed further in this patchset (to not break bisecting).
BIT macro will be globally defined (1<<x)
Signed-off-by: Jiri Slaby <jirislaby@gmail.com >
Cc: <dtor@mail.ru >
Acked-by: Jiri Kosina <jkosina@suse.cz >
Cc: <lenb@kernel.org >
Acked-by: Marcel Holtmann <marcel@holtmann.org >
Cc: <perex@suse.cz >
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org >
Cc: <vernux@us.ibm.com >
Cc: <malattia@linux.it >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2007-10-19 11:53:42 -07:00
Dmitry Torokhov
ba0acb5ee3
Input: move USB miscellaneous devices under drivers/input/misc
...
This will allow concentrating all input devices in one place
in {menu|x|q}config.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru >
Acked-by: Greg Kroah-Hartman <gregkh@suse.de >
2007-05-08 01:41:29 -04:00