diff mbox series

cpupowerutils: Delete repeated word in comments

Message ID 20220802154530.18521-1-dengshaomin@cdjrlc.com
State New
Headers show
Series cpupowerutils: Delete repeated word in comments | expand

Commit Message

Shaomin Deng Aug. 2, 2022, 3:45 p.m. UTC
From: Shaomin Deng <dengshaomin@cdjrlc.com>

Delete the repeated word "cpu" in comments.

Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
 tools/power/cpupower/bench/system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shuah Khan Aug. 24, 2022, 7:07 p.m. UTC | #1
On 8/2/22 9:45 AM, shaomin Deng wrote:
> From: Shaomin Deng <dengshaomin@cdjrlc.com>
> 
> Delete the repeated word "cpu" in comments.
> 
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
> ---
>   tools/power/cpupower/bench/system.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/power/cpupower/bench/system.c b/tools/power/cpupower/bench/system.c
> index 40f3679e70b5..eb79dd9ac670 100644
> --- a/tools/power/cpupower/bench/system.c
> +++ b/tools/power/cpupower/bench/system.c
> @@ -37,7 +37,7 @@ long long int get_time()
>    * sets the cpufreq governor
>    *
>    * @param governor cpufreq governor name
> - * @param cpu cpu for which the governor should be set
> + * @param cpu for which the governor should be set

This is good as is. The first cpu is associated with param.

thanks,
-- Shuah
diff mbox series

Patch

diff --git a/tools/power/cpupower/bench/system.c b/tools/power/cpupower/bench/system.c
index 40f3679e70b5..eb79dd9ac670 100644
--- a/tools/power/cpupower/bench/system.c
+++ b/tools/power/cpupower/bench/system.c
@@ -37,7 +37,7 @@  long long int get_time()
  * sets the cpufreq governor
  *
  * @param governor cpufreq governor name
- * @param cpu cpu for which the governor should be set
+ * @param cpu for which the governor should be set
  *
  * @retval 0 on success
  * @retval -1 when failed