From: Axel Lin Date: Sun, 22 Aug 2010 14:38:15 +0000 (+0800) Subject: regulator: tps6586x-regulator - fix value range checking for val X-Git-Tag: v2.6.36-rc5~29^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327531bada36e5786b13bb6918ad8afc545adfa2;p=pandora-kernel.git regulator: tps6586x-regulator - fix value range checking for val val is used as array index of ri->voltages. Thus the valid value range should be 0 .. ri->desc.n_voltages - 1. Signed-off-by: Axel Lin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed