Merge remote-tracking branch 'regulator/fix/qcom-rpm' into regulator-linus
This commit is contained in:
commit
36818b821b
|
@ -768,7 +768,7 @@ static int rpm_reg_probe(struct platform_device *pdev)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (force_mode < 0) {
|
if (force_mode == -1) {
|
||||||
dev_err(&pdev->dev, "invalid force mode\n");
|
dev_err(&pdev->dev, "invalid force mode\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue