HID: i2c-hid: Add hid-over-i2c name to i2c id table
authorBenson Leung <bleung@chromium.org>
Tue, 8 Mar 2016 19:25:39 +0000 (11:25 -0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 10 Mar 2016 09:04:21 +0000 (10:04 +0100)
commit1dcdde98bcbd5a9f0ce94bc2080ec31e71a8d811
treed0e30709a304ebbbf396ca3e84e0a289029548d1
parentc2848f2eef4dd08b0fd2a8eba1694fd8e77ddb67
HID: i2c-hid: Add hid-over-i2c name to i2c id table

When using the device tree binding OF compatible = "hid-over-i2c" the
i2c id table also needs to have that name in order to auto load this
driver, since i2c core reports module alias as i2c:<string> where
<string> is compatible string of OF binding stripped of manufacturer's
prefix.

Tested-by: Andrew Duggan <aduggan@synaptics.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c