[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220822123239.28400-1-yuanjilin@cdjrlc.com>
Date: Mon, 22 Aug 2022 20:32:39 +0800
From: Jilin Yuan <yuanjilin@...rlc.com>
To: amit.kachhap@...il.com, daniel.lezcano@...aro.org,
viresh.kumar@...aro.org, lukasz.luba@....com, rafael@...nel.org,
amitk@...nel.org, rui.zhang@...el.com
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] drivers/thermal: fix repeated words in comments
Delete the redundant word 'device'.
Delete the redundant word 'which'.
Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
drivers/thermal/cpufreq_cooling.c | 2 +-
drivers/thermal/thermal_of.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/cpufreq_cooling.c b/drivers/thermal/cpufreq_cooling.c
index b8151d95a806..13551b386e72 100644
--- a/drivers/thermal/cpufreq_cooling.c
+++ b/drivers/thermal/cpufreq_cooling.c
@@ -495,7 +495,7 @@ static struct thermal_cooling_device_ops cpufreq_cooling_ops = {
/**
* __cpufreq_cooling_register - helper function to create cpufreq cooling device
- * @np: a valid struct device_node to the cooling device device tree node
+ * @np: a valid struct device_node to the cooling device tree node
* @policy: cpufreq policy
* Normally this should be same as cpufreq policy->related_cpus.
* @em: Energy Model of the cpufreq policy
diff --git a/drivers/thermal/thermal_of.c b/drivers/thermal/thermal_of.c
index b65d435cb92f..91bbed308305 100644
--- a/drivers/thermal/thermal_of.c
+++ b/drivers/thermal/thermal_of.c
@@ -651,7 +651,7 @@ EXPORT_SYMBOL_GPL(devm_thermal_zone_of_sensor_register);
/**
* devm_thermal_zone_of_sensor_unregister - Resource managed version of
* thermal_zone_of_sensor_unregister().
- * @dev: Device for which which resource was allocated.
+ * @dev: Device for which resource was allocated.
* @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
*
* This function removes the sensor callbacks and private data from the
--
2.36.1
Powered by blists - more mailing lists