Input: wacom_w8001 - implement open and close
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:47 +0000 (23:07 -0700)
commite9496746cc0954c43720de0c88fef95a9d229baa
tree6f5ff1d9bee1ea44acd343aaea69b3ccce390272
parentc17ca3f5a2c98784739bbbcc3f6b6ee177f4f201
Input: wacom_w8001 - implement open and close

Implement open() and close() methods for the input device so that we
do not start the device unless there are users listening to the events.

Acked-by: Chris Bagwell <chris@cnpbagwell.com>
Tested-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wacom_w8001.c