]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: mms114 - mark as direct input device
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Jan 2018 19:11:09 +0000 (11:11 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 26 Jan 2018 19:27:18 +0000 (11:27 -0800)
commit477baf7e9a45538f984216acba371b8bd190d4f3
treebf5b6e00a46bc734e2a9ecd572b56e96dbbcd362
parent5e703b883468f9e5c88bde82a2e5b34a89fefa96
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: Simon Shields <simon@lineageos.org>
Tested-by: Simon Shields <simon@lineageos.org>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Tested-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mms114.c