Input: wacom_w8001 - handle errors from input_mt_init_slots()
authorPing Cheng <pinglinux@gmail.com>
Tue, 19 Jul 2016 18:13:17 +0000 (11:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Jul 2016 18:42:44 +0000 (11:42 -0700)
commit3746e5675211104844310a918fc2bf583f4a01b4
tree0ba9910f2228c5ce70193dc9c2309275c52c1cbf
parentae10850c5cf27c03bf89dc2ee113c61c4d98a854
Input: wacom_w8001 - handle errors from input_mt_init_slots()

input_mt_init_slots() may fail and we should be handling failures properly.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wacom_w8001.c