summaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-07-07 16:18:33 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-07-07 16:18:33 -0700
commitf053ea8d841a3a4620fff4a1b2ab1da9d7c53939 (patch)
treef8b6e0fc8c5c07d40db8d3aa3645092ab3d57ec6 /drivers/input/input-mt.c
parent3c3416abbe3328c2fae054379894614b0c894069 (diff)
parentc45361a1287a74d327d72d4d2b96f4ac170653d9 (diff)
Pull input changes from Henrik Rydberg, including large update to
atmel_mxt_ts driver by Daniel and MT protocol addition for win8 devices. Conflicts: drivers/input/touchscreen/atmel_mxt_ts.c
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 f658086fbbe..70a16c7da8c 100644
--- a/drivers/input/input-mt.c
+++ b/drivers/input/input-mt.c
@@ -135,7 +135,7 @@ EXPORT_SYMBOL(input_mt_report_finger_count);
*/
void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count)
{
- struct input_mt_slot *oldest = 0;
+ struct input_mt_slot *oldest = NULL;
int oldid = dev->trkid;
int count = 0;
int i;