Input: drivers/joystick - fix various sparse warnings
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:52:51 +0000 (00:52 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:52:51 +0000 (00:52 -0400)
commit78167236e23bb3c80d2b35b693e578a6e56b1171
tree2287a478c80f5eaa79738d4b541bd5a0ddd42de5
parentdec3eb01c2409ca8276c1152c167add66a37d1ba
Input: drivers/joystick - fix various sparse warnings

Fix various issues pointed by sparse:
 - module_param_array_named() takes unsigned int as number
   of parameters argument
 - shadowing of global variables is not healthy. I think there was
   once a bug in db9 caused by it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/analog.c
drivers/input/joystick/db9.c
drivers/input/joystick/gamecon.c
drivers/input/joystick/iforce/iforce.h
drivers/input/joystick/turbografx.c