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>
This commit is contained in:
Dmitry Torokhov 2012-10-24 23:53:01 -07:00
parent a4d6983c7a
commit 5161870f51
1 changed files with 1 additions and 1 deletions

View File

@ -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;