From: Axel Lin Date: Fri, 30 Aug 2013 12:07:38 +0000 (+0800) Subject: regulator: da9063: Optimize da9063_set_current_limit implementation X-Git-Tag: v3.12-rc1~191^2~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556dcf903d8a22aa1b3eb743aeffd4849eef2e24;p=pandora-kernel.git regulator: da9063: Optimize da9063_set_current_limit implementation All the current limit tables have the values in ascend order. So we can slightly optimize the for loop iteration because the first match is the minimal value. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed