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>
This commit is contained in:
Родитель
f8f5701bda
Коммит
27c347d64f
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче