From: Linus Walleij Date: Wed, 26 Aug 2009 10:54:04 +0000 (+0200) Subject: REGULATOR Handle positive returncode from enable X-Git-Tag: v2.6.32-rc1~164^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7433cff9ed8e7982de8e0f210f0325d0f3d1949;p=pandora-kernel.git REGULATOR Handle positive returncode from enable This makes _regulator_enable() properly handle the case where a regulator is already on when you try to enable it. Currently it will erroneously handle positive return values as an error. Signed-off-by: Linus Walleij Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed