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>
This commit is contained in:
Marek Vasut 2010-06-24 15:49:49 +02:00 committed by Liam Girdwood
parent 69f710083a
commit 1880a2fc59

View File

@ -585,6 +585,8 @@ static const struct tps_info tps65023_regs[] = {
static const struct i2c_device_id tps_65023_id[] = { static const struct i2c_device_id tps_65023_id[] = {
{.name = "tps65023", {.name = "tps65023",
.driver_data = (unsigned long) tps65023_regs,}, .driver_data = (unsigned long) tps65023_regs,},
{.name = "tps65021",
.driver_data = (unsigned long) tps65023_regs,},
{ }, { },
}; };