regulator: ltc3676: Add OF device ID table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 21 Feb 2017 14:29:05 +0000 (11:29 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 21 Feb 2017 18:30:56 +0000 (10:30 -0800)
commitc314341557d3e8369b89eabde0b864997cf7f420
treeb199da64d5d9fe6e2d966e695dc332c17d932b7e
parentfad9cd45edf558b5886219d58986a88a83926bbf
regulator: ltc3676: 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: Mark Brown <broonie@kernel.org>
drivers/regulator/ltc3676.c