]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
HID: sensor-hub: don't limit the driver only to USB bus
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 11 Feb 2013 10:31:19 +0000 (12:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Feb 2013 09:26:59 +0000 (10:26 +0100)
commit0d1e4b024f5eff6f3a8927ddfbf6a1a9d6db1a31
tree3375d1b1ee4c18771edb2b34da77c7d56473cf94
parent9ef0c5ff0cbdb4eb1f10351091154f3a85b8e9b7
HID: sensor-hub: don't limit the driver only to USB bus

We now have two transport mediums: USB and I2C, where sensor hubs can
exists. So instead of constraining the driver to only these two we let it
to match any HID bus as long as the group is HID_GROUP_SENSOR_HUB.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sensor-hub.c