summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ad525x_dpot-i2c.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-03-21 10:50:47 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 18:22:59 +0200
commitd2ce8d6fee4428f80005c71e1529def3edcfe259 (patch)
tree753fd070c36de6acecd4d4dd3133ebf3aa82a1e2 /drivers/misc/ad525x_dpot-i2c.c
parent91bd2855edbc6a941bf0b16990fbf2894c41c388 (diff)
downloadlinux-d2ce8d6fee4428f80005c71e1529def3edcfe259.tar.bz2
misc: tsl2550: 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> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot-i2c.c')
0 files changed, 0 insertions, 0 deletions