Re: [PATCH 2/4] Input: mms114 - mark as direct input device
From: Andi Shyti
Date: Thu Jan 25 2018 - 23:55:33 EST
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_mt_init_slots().
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>
Tested-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>
Thanks,
Andi