HID: make sensor autodetection independent of underlying bus
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 19 Feb 2013 09:22:33 +0000 (11:22 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 25 Feb 2013 12:42:36 +0000 (13:42 +0100)
commit6399f335c2c5fb9c244bbb2b8a437498d260bed7
tree947f73b142fb531e05af7b9af8cfa81a20c19cf4
parent545bef681088cbf49c9c11d63872698b81eac7eb
HID: make sensor autodetection independent of underlying bus

Instead of limiting HID sensors to USB and I2C busses we can just make
everything that has usage page of HID_UP_SENSOR to be included in
HID_GROUP_SENSOR_HUB group. This allows the sensor-hub to work over
bluetooth (and other transports) as well.

Reported-by: Alexander Holler <holler@ahsoftware.de>
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-core.c