regulator: core: Fix return code for invalid parameters
We should be returning an error, a repeated call will never succeed.
Signed-off-by: NMark Brown <broonie@linaro.org>
Showing
想要评论请 注册 或 登录
We should be returning an error, a repeated call will never succeed.
Signed-off-by: NMark Brown <broonie@linaro.org>