From: Axel Lin Date: Thu, 22 Mar 2012 06:08:04 +0000 (+0800) Subject: regulator: gpio-regulator: Set the smallest voltage/current in the specified range X-Git-Tag: v3.5-rc1~177^2~58^3~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dbd8f63f07a9e945f053d61d6f313ad98dda39d;p=pandora-kernel.git regulator: gpio-regulator: Set the smallest voltage/current in the specified range Do not assume the gpio regulator states map is sorted in any order. This patch ensures we always set the smallest voltage/current that falls within the specified range. Signed-off-by: Axel Lin Acked-by: Heiko Stuebner Signed-off-by: Mark Brown --- Reading git-diff-tree failed