diff options
author | Mark Brown <broonie@kernel.org> | 2015-02-08 04:16:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-08 04:16:18 +0100 |
commit | 36818b821bde4f81a174010a529833df2a7f9087 (patch) | |
tree | 3b664eb826970e2478e313a044429e8b808bcbe8 | |
parent | Merge tag 'regulator-v3.19-rc7' into regulator-linus (diff) | |
parent | regulator: qcom-rpm: signedness bug in probe() (diff) | |
download | linux-36818b821bde4f81a174010a529833df2a7f9087.tar.xz linux-36818b821bde4f81a174010a529833df2a7f9087.zip |
Merge remote-tracking branch 'regulator/fix/qcom-rpm' into regulator-linus
-rw-r--r-- | drivers/regulator/qcom_rpm-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index 8364ff331a81..3ab65c62fdd5 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c @@ -768,7 +768,7 @@ static int rpm_reg_probe(struct platform_device *pdev) break; } - if (force_mode < 0) { + if (force_mode == -1) { dev_err(&pdev->dev, "invalid force mode\n"); return -EINVAL; } |