summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65023-regulator.c
diff options
context:
space:
mode:
authorMarek Vasut2010-06-24 15:49:49 +0200
committerLiam Girdwood2010-08-11 12:38:01 +0200
commit1880a2fc59d2afabc142a311497cf7c320d64506 (patch)
tree60382b96c4318d2355fffbc6be115cd834df61ac /drivers/regulator/tps65023-regulator.c
parentdrivers: regulators: depend on MFD_MAX8998 (diff)
downloadkernel-qcow2-linux-1880a2fc59d2afabc142a311497cf7c320d64506.tar.gz
kernel-qcow2-linux-1880a2fc59d2afabc142a311497cf7c320d64506.tar.xz
kernel-qcow2-linux-1880a2fc59d2afabc142a311497cf7c320d64506.zip
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/regulator/tps65023-regulator.c')
-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 f50afc9f287a..cd6d4fc9d74f 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,},
{ },
};