]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: silead - add OF device ID table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 23 Feb 2017 08:44:28 +0000 (00:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Mar 2017 21:46:31 +0000 (14:46 -0700)
commit483e55d973473886d1c2c2785ee51b209c434950
tree6218c748f43f574b4f9d7683d2b068fb24a57b10
parentfef5f569db06ea80ae3a864b1ba4bda6e359311d
Input: silead - 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.

As pointed by Hans de Goede, there's no mssl1680 and this is just used in
some ACPI systems to identify the gsl1680 chip. So isn't included in the
OF device ID table since a DT should use the proper device name instead.

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