summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-06-24 13:49:49 (GMT)
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-08-11 10:38:01 (GMT)
commit1880a2fc59d2afabc142a311497cf7c320d64506 (patch)
tree60382b96c4318d2355fffbc6be115cd834df61ac /drivers
parent69f710083a5c49467ce3f76631d201771ae59539 (diff)
downloadlinux-1880a2fc59d2afabc142a311497cf7c320d64506.tar.xz
tps65023: Allow registering similar TPS65021
TPS65021 is an older model and is slightly weaker (can supply less current), otherwise is the same. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/tps65023-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/tps65023-regulator.c b/drivers/regulator/tps65023-regulator.c
index f50afc9..cd6d4fc 100644
--- a/drivers/regulator/tps65023-regulator.c
+++ b/drivers/regulator/tps65023-regulator.c
@@ -585,6 +585,8 @@ static const struct tps_info tps65023_regs[] = {
static const struct i2c_device_id tps_65023_id[] = {
{.name = "tps65023",
.driver_data = (unsigned long) tps65023_regs,},
+ {.name = "tps65021",
+ .driver_data = (unsigned long) tps65023_regs,},
{ },
};