From 9bfb1ffff1972291738b4288e7653ba7ea3c24fa Mon Sep 17 00:00:00 2001
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Fri, 3 Jun 2022 15:27:55 +0530
Subject: OPP: Fix typo in comment

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 bcfa8af040ff..b2715950e76d 100644
--- a/drivers/opp/core.c
+++ b/drivers/opp/core.c
@@ -1019,7 +1019,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);
 	}
 
-- 
cgit v1.2.3-70-g09d2