linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tps65023: Allow registering similar TPS65021
@ 2010-06-24 13:49 Marek Vasut
  2010-06-24 16:36 ` Mark Brown
  2010-06-25 11:55 ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2010-06-24 13:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: lrg, broonie, Marek Vasut

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>
---
 drivers/regulator/tps65023-regulator.c |    2 ++
 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,},
 	{ },
 };
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-25 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 13:49 [PATCH] tps65023: Allow registering similar TPS65021 Marek Vasut
2010-06-24 16:36 ` Mark Brown
2010-06-25 11:55 ` Mark Brown
2010-06-25 19:11   ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).