kernel_optimize_test/drivers/input
Dan Carpenter 17d01f28e1 Input: pcf8574_keypad - fix error handling in pcf8574_kp_probe
It is not allowed to call input_free_device() after calling
input_unregister_device() because input devices are refcounted and
unregister will free the device if we were holding he last referenc.

The preferred style in input/ is to make input_register_device() the
last function in the probe which can fail.  That way we don't need to
call input_unregister_device().

Also do not need to call input_set_drvdata() as nothing in the driver
uses the data.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-11-11 00:12:13 -08:00
..
gameport
joystick
keyboard Input: atkbd - add 'terminal' parameter for IBM Terminal keyboards 2010-11-04 10:30:48 -07:00
misc Input: pcf8574_keypad - fix error handling in pcf8574_kp_probe 2010-11-11 00:12:13 -08:00
mouse Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2010-10-31 21:02:39 -04:00
serio Input: i8042 - add Sony VAIOs to MUX blacklist 2010-11-04 08:39:11 -07:00
tablet Input: acecad - fix a memory leak in usb_acecad_probe error path 2010-11-10 23:07:03 -08:00
touchscreen Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2010-10-31 21:02:39 -04:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c
input.c Input: export input_reset_device() for use in KGDB 2010-11-03 11:04:46 -07:00
joydev.c
Kconfig
Makefile
mousedev.c
sparse-keymap.c
xen-kbdfront.c