Input: wacom_w8001 - simplify w8001_remove
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Aug 2011 05:57:00 +0000 (22:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Aug 2011 06:07:51 +0000 (23:07 -0700)
commit66fd9385ee9c582ee88031ba5028748cb38c986d
tree2bd11a7ddd9ca8041ee8d3d7baf7be086eae8072
parente9496746cc0954c43720de0c88fef95a9d229baa
Input: wacom_w8001 - simplify w8001_remove

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: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wacom_w8001.c