Input: penmount - simplify unregister procedure
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 13 Sep 2011 05:13:00 +0000 (22:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Sep 2011 05:46:31 +0000 (22:46 -0700)
commitc3a01ba9e45f01c6505a41efb33c420a0c959eb3
tree24e2e17f328b0be9afb799d26328792b38ba3208
parent98b013eb7a94cfd29fcc782f3b7d9f9fe06ac50d
Input: penmount - simplify unregister procedure

Since touchscreen driver does not handle any events to be sent to the
device we can close serio port first and then unregister the input device.

Tested-by: John Sung <penmount.touch@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/penmount.c