summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/tps65217_charger.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-03-29 12:00:57 -0400
committerSebastian Reichel <sre@kernel.org>2017-04-14 01:41:34 +0200
commit9697277ed52980629774ffa603404ee44600154e (patch)
tree4952448f8e33baec6e4de7727a116ca7dd290db1 /drivers/power/supply/tps65217_charger.c
parentc67c372ca667eef047538eb3456f87ea94bd2949 (diff)
downloadop-kernel-dev-9697277ed52980629774ffa603404ee44600154e.zip
op-kernel-dev-9697277ed52980629774ffa603404ee44600154e.tar.gz
power: supply: ltc2941-battery-gauge: 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: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/supply/tps65217_charger.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud