summaryrefslogtreecommitdiff
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 10:53:01 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-25 11:11:52 +0400
commit5161870f51acd74442375a6693c0586996d01f44 (patch)
tree62e2c05c915aca07f4a7f68334e510f95753b7f8 /drivers/input/input-mt.c
parenta4d6983c7a164c39bc0289124a2cd9f765d333d0 (diff)
downloadlinux-5161870f51acd74442375a6693c0586996d01f44.tar.xz
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 c0ec7d42c3be..bf2f30c02589 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;