Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltagetable

From: Thierry Reding
Date: Wed Dec 04 2013 - 04:49:19 EST


On Tue, Dec 03, 2013 at 11:18:47PM +0100, Stefan Agner wrote:
[...]
> diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
[...]
> + /* Search version specific table first */
> + if (table) {
> + for (i = 0; i < num; i++) {
> + ri = &table[i];
> + if (ri->desc.id == id)
> + return ri;
> + }
> + }

Ah... there you go. Looks good:

Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: pgp00000.pgp
Description: PGP signature