Input: emu10k1 - do not leave device enabled when probe fails
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:50:17 +0000 (18:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2010 14:49:23 +0000 (07:49 -0700)
commit7aed3fb73f4ac7912ce9e0c232a15ee012bf4be5
tree3a07769d97225612892db92a8917b3460465b9f5
parent05e93a746a0781429de73117b2f2ef48d2312759
Input: emu10k1 - do not leave device enabled when probe fails

Rework emu_probe() to make sure we leave the device disabled if probe
fails for any reason.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/emu10k1-gp.c