summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-02-08 11:16:18 +0800
committerMark Brown <broonie@kernel.org>2015-02-08 11:16:18 +0800
commit36818b821bde4f81a174010a529833df2a7f9087 (patch)
tree3b664eb826970e2478e313a044429e8b808bcbe8 /drivers/regulator
parent14ac3213bacbdd2931897420972a45fbda4905f1 (diff)
parenta412ec27957c9dc216b19d638c808d7ddfa2debd (diff)
downloadop-kernel-dev-36818b821bde4f81a174010a529833df2a7f9087.zip
op-kernel-dev-36818b821bde4f81a174010a529833df2a7f9087.tar.gz
Merge remote-tracking branch 'regulator/fix/qcom-rpm' into regulator-linus
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/qcom_rpm-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c
index 8364ff3..3ab65c6 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;
}
OpenPOWER on IntegriCloud