]> git.baikalelectronics.ru Git - kernel.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)
commita8ff89e6f1e45a7968b71f7fc9ebd5c137f66d5e
tree6218c748f43f574b4f9d7683d2b068fb24a57b10
parente4e74afe54637a51ec8d0554e3acfb8e481133fb
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