aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-24 23:53:01 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 00:11:52 -0700
commit5161870f51acd74442375a6693c0586996d01f44 (patch)
tree62e2c05c915aca07f4a7f68334e510f95753b7f8 /drivers/input/input-mt.c
parenta4d6983c7a164c39bc0289124a2cd9f765d333d0 (diff)
Input: fix sparse warning in multitouch code
This fixes the following sparse warning: drivers/input/input-mt.c:193:18: warning: Using plain integer as NULL pointer Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/input-mt.c')
-rw-r--r--drivers/input/input-mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c
index c0ec7d42c3b..bf2f30c0258 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -190,7 +190,7 @@ void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count)
if (!mt)
return;
- oldest = 0;
+ oldest = NULL;
oldid = mt->trkid;
count = 0;