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

This commit is contained in:
Mark Brown 2015-02-08 11:16:18 +08:00
commit 36818b821b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }