Message ID | d922b4be0bcfb17f1a3cefa1ad9a1598b659de4f.1477463128.git.viresh.kumar@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c index f4f6b1fdbe06..3298fac01bb0 100644 --- a/drivers/base/power/opp/core.c +++ b/drivers/base/power/opp/core.c @@ -1469,7 +1469,7 @@ int dev_pm_opp_set_regulators(struct device *dev, const char * const names[], } /* Already have regulators set */ - if (WARN_ON(opp_table->regulators)) { + if (opp_table->regulators) { ret = -EBUSY; goto err; }