Skip to content
Commit 477baf7e authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: mms114 - mark as direct input device



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().

Reviewed-by: default avatarSimon Shields <simon@lineageos.org>
Tested-by: default avatarSimon Shields <simon@lineageos.org>
Reviewed-by: default avatarAndi Shyti <andi.shyti@samsung.com>
Tested-by: default avatarAndi Shyti <andi.shyti@samsung.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 5e703b88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment