commit | aa59802dedac98dc95310a456121cec6a9d6b63f | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Oct 03 22:42:43 2011 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Oct 04 16:50:16 2011 +0100 |
tree | a11ba91bd5636199d7c83ca93bdadc27acfc3e83 | |
parent | 38f3f31a0a797bdbcc0cdb12553bbecc2f9a91c4 [diff] |
regulator: Fix return code from regulator_disable_deferred() schedule_delayed_work() returns a bool indicating if the work was already queued when it succeeds so we need to squash a true down to zero. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>