Input: synaptics - handle errors from input_mt_init_slots()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:54:04 +0000 (16:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Feb 2018 01:04:08 +0000 (17:04 -0800)
commitcdc2466df40f26af60f6b18123069bd52336a80c
tree03e0d37af07fc8d71837bf1aa0091595173c4bff
parent29aa619408adc1f88745feed02265acfbc0b8fea
Input: synaptics - handle errors from input_mt_init_slots()

input_mt_init_slots() may fail, we need to handle this condition.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c