diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c index eceebef36f211c3132cd7e6bf37510525baed49d..35ff06283738036e8388ea19a502b9434874ab99 100644 --- a/drivers/base/power/opp/core.c +++ b/drivers/base/power/opp/core.c @@ -1485,7 +1485,7 @@ struct opp_table *dev_pm_opp_set_regulators(struct device *dev, } /* Already have regulators set */ - if (WARN_ON(opp_table->regulators)) { + if (opp_table->regulators) { ret = -EBUSY; goto err; }