[PATCH] OPP: Fix typo in comment

From: Viresh Kumar
Date: Fri Jun 03 2022 - 05:58:46 EST


Replace rate with state.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
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