Input: sirfsoc-onkey - implement open and close methods
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Feb 2014 07:38:43 +0000 (23:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 15 Feb 2014 21:08:40 +0000 (13:08 -0800)
commit864d3c0fe41c5e9ea4a477509b670e7503bda84c
tree0dfac0b110bfed007c1733c2ed9448f592213433
parent1560a838f1a6402bdb2006cf30221e83106b0d02
Input: sirfsoc-onkey - implement open and close methods

We can control whetehr device generates interrupts or not so let's
implement open and close methods of input device so that we do not do any
processing until there are users.

Tested-by: Xianglong Du <Xianglong.Du@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c