HID: multitouch: simplify the application retrieval
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 4 Sep 2018 13:31:15 +0000 (15:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 4 Sep 2018 20:32:59 +0000 (22:32 +0200)
commit7ffa13be4945b2f60dfe6c71acbc1fdcfc4629a0
tree23b908daf15923e82711eeed4900784d7cc14127
parent0d6c3011409135ea84e2a231b013a22017ff999a
HID: multitouch: simplify the application retrieval

Now that the application is simply stored in struct hid_input, we can
overwrite it in mt_input_mapping() for the faulty egalax and have a
simpler suffix processing in mt_input_configured()

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c