lkml.org 
[lkml]   [2010]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] tps65023: Allow registering similar TPS65021
Date

On 24 Jun 2010, at 14:49, Marek Vasut <marek.vasut@gmail.com> wrote:

> 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>

> ---
> 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
>


\
 
 \ /
  Last update: 2010-06-25 14:17    [from the cache]
©2003-2011 Jasper Spaans