Input: migor-ts - rework probe() to simplify error path
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 1 Dec 2011 07:44:31 +0000 (23:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:02:31 +0000 (00:02 -0800)
commitff4d049246727087ee797b6802e7c1bd4d5d172c
treea804a6a340303cf3d8d899f677e57c42a704adee
parentec20861260824a1be53d24c05636529d45a4e228
Input: migor-ts - rework probe() to simplify error path

Register input device last so that we do not have to reset
input device pointer after calling input_unregister_device().

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/migor_ts.c