Re: [PATCH 2/4] Input: mms114 - mark as direct input device

2018-01-25 Thread Andi Shyti
Hi Dmitry, On Wed, Jan 24, 2018 at 11:38:02AM -0800, Dmitry Torokhov wrote: > mms14 is a touchscreen and thus a direct input device; let's mark it > as such. This also allows us to drop some initialization code as > input_init_mt_slots() will do that for us. > > Also add error handling for input_

[PATCH 2/4] Input: mms114 - mark as direct input device

2018-01-24 Thread Dmitry Torokhov
mms14 is a touchscreen and thus a direct input device; let's mark it as such. This also allows us to drop some initialization code as input_init_mt_slots() will do that for us. Also add error handling for input_mt_init_slots(). Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/mms114