Input: initialize input_no to -1 to avoid subtraction
authorAniroop Mathur <aniroop.mathur@gmail.com>
Tue, 2 Dec 2014 23:22:28 +0000 (15:22 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Dec 2014 05:34:49 +0000 (21:34 -0800)
commit9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b
treeb98a6234464d403c1451f2b4ea94472b6e0970ad
parent8195077c4a93486f715edac3e9f1503df7dec60a
Input: initialize input_no to -1 to avoid subtraction

Let's initializes input_no to -1 in order to avoid extra subtraction
operation performed every time we allocate an input device.

Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c