From: Roel Kluin Date: Mon, 26 Oct 2009 11:37:11 +0000 (+0100) Subject: regulator: keep index within bounds in da9034_get_ldo12_voltage() X-Git-Tag: v2.6.33-rc1~36^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495353a3f7fbb11e5100c9258365ff65a4834b37;p=pandora-kernel.git regulator: keep index within bounds in da9034_get_ldo12_voltage() If selector equals ARRAY_SIZE(da9034_ldo12_data), that is one too large already. Signed-off-by: Roel Kluin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed