]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Input: synaptics_i2c - add OF device ID table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 23 Mar 2017 20:31:50 +0000 (13:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Mar 2017 21:46:32 +0000 (14:46 -0700)
commit72bf60f19661e0451071f6a2f1940f9af1a3e33b
treeef587d23ebd15cad576169ca553eea4ea5472376
parent483e55d973473886d1c2c2785ee51b209c434950
Input: synaptics_i2c - add OF device ID table

The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:<device>.

But this could change in the future so the correct approach is to have an
OF device ID table if the devices are registered via OF.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics_i2c.c