HID: multitouch: do not filter mice nodes
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 12 Aug 2019 16:23:25 +0000 (18:23 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 22 Aug 2019 15:53:16 +0000 (17:53 +0200)
commitc23e2043d5f7177c3f40da70663b2f3a1de82f5c
tree257fcd590bf07909f0d370282690738b83d85cda
parent15d90b242290f228166ea79ee1cc2db6b31a2143
HID: multitouch: do not filter mice nodes

It was a good idea at the time to not create a mouse node for the
multitouch touchscreens, but:
- touchscreens following the Win 8 protocol should not have this
  disturbing mouse node anymore, or if they have, it should be
  used for something else (like a joystick attached to the screen)
- touchpads have it, and they should not use it unless there is a bug,
  but when the laptop has a trackstick, the data are reported through this
  mouse node.

So instead of whitelisting all of the devices that have a need for the
mouse node, just export it.
hid-input.c will append a suffix to it ('Mouse'), so users will eventually
see if something goes wrong.

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