Commit 36818b82 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regulator/fix/qcom-rpm' into regulator-linus

parents 14ac3213 a412ec27
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment