diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2017-02-24 10:13:07 -0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-04-02 07:01:53 -0700 |
commit | 8881a19187e452e72e8b1782342b2687e4c9b21d (patch) | |
tree | 1d09363df522287e6db47a8aa20d12f45d2b21e5 /drivers/hwmon/tmp421.c | |
parent | 9e427083c3cec46435988f2ee80d643a82ec9e4c (diff) | |
download | talos-obmc-linux-8881a19187e452e72e8b1782342b2687e4c9b21d.tar.gz talos-obmc-linux-8881a19187e452e72e8b1782342b2687e4c9b21d.zip |
hwmon: (ucd9000) 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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/tmp421.c')
0 files changed, 0 insertions, 0 deletions