From: Mark Brown Date: Tue, 26 Jun 2012 10:16:58 +0000 (+0100) Subject: regulator: core: Check for failed voltage sets before checking for delay X-Git-Tag: v3.6-rc1~157^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aff3a8b20c54888e199e863744848007f1f4120;p=pandora-kernel.git regulator: core: Check for failed voltage sets before checking for delay There is no need to consider waiting for the voltage to ramp if we didn't manage to set it and looking at the return value is going to be cheaper than is_enabled(). Signed-off-by: Mark Brown --- Reading git-diff-tree failed