diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-25 08:53:01 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-25 09:11:52 +0200 |
commit | 5161870f51acd74442375a6693c0586996d01f44 (patch) | |
tree | 62e2c05c915aca07f4a7f68334e510f95753b7f8 /drivers/input/input-mt.c | |
parent | Input: arc_ps2 - switch to using managed resources (diff) | |
download | linux-5161870f51acd74442375a6693c0586996d01f44.tar.xz linux-5161870f51acd74442375a6693c0586996d01f44.zip |
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.c | 2 |
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; |