From: Dmitry Torokhov Date: Thu, 25 Oct 2012 06:53:01 +0000 (-0700) Subject: Input: fix sparse warning in multitouch code X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5161870f51acd74442375a6693c0586996d01f44;p=linux-beck.git 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 --- 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;