Input: iforce - fix oops on device disconnect
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Dec 2009 06:37:49 +0000 (22:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Dec 2009 06:38:11 +0000 (22:38 -0800)
commit98b7fb0472f828536a7786df6bd517322c0c17dc
tree9963828250cc0bbee2a771ee62604f483f047d25
parent94ec26c855bc675259e4f1658673f458040affd7
Input: iforce - fix oops on device disconnect

Do not try to free iforce device when we closing input device; disconnect
is the only place where it should be deleted.

Reported-by: Johannes Ebke <johannes.ebke@physik.uni-muenchen.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/iforce/iforce-main.c
drivers/input/joystick/iforce/iforce-usb.c
drivers/input/joystick/iforce/iforce.h