diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-25 10:53:01 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-25 11:11:52 +0400 |
commit | 5161870f51acd74442375a6693c0586996d01f44 (patch) | |
tree | 62e2c05c915aca07f4a7f68334e510f95753b7f8 /drivers/input | |
parent | a4d6983c7a164c39bc0289124a2cd9f765d333d0 (diff) | |
download | linux-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')
-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; |