diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-06-04 06:58:48 -0400 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-06-04 10:33:34 -0400 |
commit | 27c347d64f5e4a7e141f6bdb85bbf59e0f1dcde6 (patch) | |
tree | 23859e03296cec184acb3f58cb4d3592713450a8 /drivers/input/input-mt.c | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
Input: MT - fix null pointer warning
Fixes the following sparse warning:
drivers/input/input-mt.c:138:40: warning: Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
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 f658086fbbe0..70a16c7da8cc 100644 --- a/drivers/input/input-mt.c +++ b/drivers/input/input-mt.c | |||
@@ -135,7 +135,7 @@ EXPORT_SYMBOL(input_mt_report_finger_count); | |||
135 | */ | 135 | */ |
136 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count) | 136 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count) |
137 | { | 137 | { |
138 | struct input_mt_slot *oldest = 0; | 138 | struct input_mt_slot *oldest = NULL; |
139 | int oldid = dev->trkid; | 139 | int oldid = dev->trkid; |
140 | int count = 0; | 140 | int count = 0; |
141 | int i; | 141 | int i; |