[PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table
From: Thierry Reding <hidden>
Date: 2013-12-04 09:49:13
Also in:
linux-tegra, lkml
From: Thierry Reding <hidden>
Date: 2013-12-04 09:49:13
Also in:
linux-tegra, lkml
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 <redacted> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131204/417edcbe/attachment-0001.sig>