HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

The Synaptics RMI4 driver provides support for RMI4 devices. Instead of
duplicating the RMI4 processing code, make hid-rmi a transport driver
and register it with the Synaptics RMI4 core.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Andrew Duggan 2017-01-05 09:48:58 +01:00 committed by Jiri Kosina
parent da28756736
commit 0b2c7a8973
2 changed files with 148 additions and 835 deletions

View File

@ -785,6 +785,11 @@ config HID_SUNPLUS
config HID_RMI config HID_RMI
tristate "Synaptics RMI4 device support" tristate "Synaptics RMI4 device support"
depends on HID depends on HID
select RMI4_CORE
select RMI4_F03
select RMI4_F11
select RMI4_F12
select RMI4_F30
---help--- ---help---
Support for Synaptics RMI4 touchpads. Support for Synaptics RMI4 touchpads.
Say Y here if you have a Synaptics RMI4 touchpads over i2c-hid or usbhid Say Y here if you have a Synaptics RMI4 touchpads over i2c-hid or usbhid

File diff suppressed because it is too large Load Diff