[PATCH] OPP: Fix typo in comment

Viresh Kumar posted 1 patch 3 years, 10 months ago
drivers/opp/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] OPP: Fix typo in comment
Posted by Viresh Kumar 3 years, 10 months ago
Replace rate with state.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/opp/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/opp/core.c b/drivers/opp/core.c
index efacd64fb198..38a295521ff7 100644
--- a/drivers/opp/core.c
+++ b/drivers/opp/core.c
@@ -854,7 +854,7 @@ static int _set_required_opp(struct device *dev, struct device *pd_dev,
 
 	ret = dev_pm_genpd_set_performance_state(pd_dev, pstate);
 	if (ret) {
-		dev_err(dev, "Failed to set performance rate of %s: %d (%d)\n",
+		dev_err(dev, "Failed to set performance state of %s: %d (%d)\n",
 			dev_name(pd_dev), pstate, ret);
 	}
 
-- 
2.31.1.272.g89b43f80a514