summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-03-15 07:45:00 +0300
committerJonathan Cameron <jic23@kernel.org>2017-03-19 13:56:58 +0300
commitc172d22d33de5edc26440def1ed7c2c1a1ec724c (patch)
treeecb464e5d7c3e23e896f431944aae00b61ac64d0 /drivers/iio/magnetometer
parent7373340367d8546910128ac301bd2c0d47e71e85 (diff)
downloadlinux-c172d22d33de5edc26440def1ed7c2c1a1ec724c.tar.xz
iio: adc: ti-ads1015: 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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions