Skip to contentSkip to conversation

cpufreq: Fix typo in comments

PATCH Applied Yue Hu 3 participants 3 messages Feb 18, 2021 – Feb 19, 2021 CPU frequency scaling framework

lore
Share & tools
lore

Yue Hu

author
#0 lore raw

PATCH 1/1 cpufreq: Fix typo in comments

From: Yue Hu <[email protected]>

Change 'Terget' to 'Target'.

Should be Target.

---
 drivers/cpufreq/cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/cpufreq.c +1 -1
index d0a3525..e4ec74d 100644
@@ -2101,7 +2101,7 @@ unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
  * cpufreq_driver_adjust_perf - Adjust CPU performance level in one go.
  * @cpu: Target CPU.
  * @min_perf: Minimum (required) performance level (units of @capacity).
- * @target_perf: Terget (desired) performance level (units of @capacity).
+ * @target_perf: Target (desired) performance level (units of @capacity).
  * @capacity: Capacity of the target CPU.
  *
  * Carry out a fast performance level switch of @cpu without sleeping.
Signature · 1 line
1.9.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 16 lines · Yue Hu

From: Yue Hu <[email protected]>

Change 'Terget' to 'Target'.

Should be Target.

---
 drivers/cpufreq/cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/cpufreq.c +0 -0
index d0a3525..e4ec74d 100644

drivers/cpufreq/cpufreq.c unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, · line 2107

Quoted 8 lines
drivers/cpufreq/cpufreq.c +1 -1
@@ -2101,7 +2101,7 @@ unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
  * cpufreq_driver_adjust_perf - Adjust CPU performance level in one go.
  * @cpu: Target CPU.
  * @min_perf: Minimum (required) performance level (units of @capacity).
- * @target_perf: Terget (desired) performance level (units of @capacity).
+ * @target_perf: Target (desired) performance level (units of @capacity).
  * @capacity: Capacity of the target CPU.
  *
  * Carry out a fast performance level switch of @cpu without sleeping.
Signature · 1 line
viresh
maintainer Applied
#2 lore raw
Quoted 13 lines · Viresh Kumar
Quoted 11 lines · Yue Hu

From: Yue Hu <[email protected]>

Change 'Terget' to 'Target'.

Should be Target.

---
 drivers/cpufreq/cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

drivers/cpufreq/cpufreq.c unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, · line 2107

Quoted 13 lines
drivers/cpufreq/cpufreq.c +1 -1
index d0a3525..e4ec74d 100644
@@ -2101,7 +2101,7 @@ unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
  * cpufreq_driver_adjust_perf - Adjust CPU performance level in one go.
  * @cpu: Target CPU.
  * @min_perf: Minimum (required) performance level (units of @capacity).
- * @target_perf: Terget (desired) performance level (units of @capacity).
+ * @target_perf: Target (desired) performance level (units of @capacity).
  * @capacity: Capacity of the target CPU.
  *
  * Carry out a fast performance level switch of @cpu without sleeping.

Applied as 5.12-rc material, thanks!