regulator: core: Fix return code for invalid parameters
authorMark Brown <broonie@linaro.org>
Fri, 20 Sep 2013 11:32:18 +0000 (12:32 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 23 Sep 2013 11:04:13 +0000 (12:04 +0100)
We should be returning an error, a repeated call will never succeed.

Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found