linux-sg2042/drivers/input
Dmitry Torokhov af906faabc Input: gpio_keys - fix warning regarding uninitialized 'irq' variable
Commit f2d347ff70 ("Input: gpio_keys - add device tree support for
interrupt only keys") caused the following build warning:

drivers/input/keyboard/gpio_keys.c: In function 'gpio_keys_probe':
drivers/input/keyboard/gpio_keys.c:647:15: warning: 'irq' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/input/keyboard/gpio_keys.c:622:7: note: 'irq' was declared here

Move button->irq initialization into proper branch and get rid of the
temporary.

Reported-by: Olof's autobuilder <build@lixom.net>
Reported-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-12-07 23:07:07 -08:00
..
gameport Input: initialize device counter variables with -1 2014-12-03 15:27:17 -08:00
joystick Input: initialize device counter variables with -1 2014-12-03 15:27:17 -08:00
keyboard Input: gpio_keys - fix warning regarding uninitialized 'irq' variable 2014-12-07 23:07:07 -08:00
misc Input: initialize device counter variables with -1 2014-12-03 15:27:17 -08:00
mouse Input: cyapa - use 'error' for error codes 2014-12-04 09:26:40 -08:00
serio Input: initialize device counter variables with -1 2014-12-03 15:27:17 -08:00
tablet Merge branch 'wacom' into next 2014-08-06 23:31:48 -07:00
touchscreen Input: touchscreen - use __maybe_unused instead of ifdef around suspend/resume 2014-11-02 00:10:07 -07:00
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-10-31 08:46:07 -07:00
Makefile
apm-power.c
evbug.c
evdev.c Input: evdev - fix EVIOCG{type} ioctl 2014-10-07 09:55:01 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c Input: fix used slots detection breakage 2014-08-25 14:59:48 -07:00
input-polldev.c Input: implement managed polled input devices 2014-05-14 16:40:04 -07:00
input.c Input: initialize input_no to -1 to avoid subtraction 2014-12-02 21:34:49 -08:00
joydev.c Input: fix use-after-free introduced with dynamic minor changes 2012-10-22 08:50:37 +03:00
matrix-keymap.c input: Export matrix_keypad_parse_of_params() 2013-04-19 00:31:13 +02:00
mousedev.c Input: mousedev - fix race when creating mixed device 2014-03-29 14:44:23 -07:00
sparse-keymap.c treewide: Fix typo in Documentation/DocBook 2014-02-19 14:58:17 +01:00