aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorJilin Yuan <yuanjilin@cdjrlc.com>2022-08-22 20:32:39 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-09-03 19:50:50 +0200
commit96f1c52992e5a91207aabf6cf8d1b0f3e6479a97 (patch)
treedc2b5e817dd0a1914e95b75df71a61fe101dfff5 /drivers/thermal
parentLinux 6.0-rc3 (diff)
downloadlinux-dev-96f1c52992e5a91207aabf6cf8d1b0f3e6479a97.tar.xz
linux-dev-96f1c52992e5a91207aabf6cf8d1b0f3e6479a97.zip
thermal: Drop duplicate words from comments
Drop duplicate words from two kerneldoc comments in the thermal subsystem. Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com> [ rjw: Subject edits and changelog rewrite ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpufreq_cooling.c2
-rw-r--r--drivers/thermal/thermal_of.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/cpufreq_cooling.c b/drivers/thermal/cpufreq_cooling.c
index b76293cc989c..b40ff133db83 100644
--- a/drivers/thermal/cpufreq_cooling.c
+++ b/drivers/thermal/cpufreq_cooling.c
@@ -475,7 +475,7 @@ static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev,
/**
* __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 802c30b72a92..3aa9e2024a2f 100644
--- a/drivers/thermal/thermal_of.c
+++ b/drivers/thermal/thermal_of.c
@@ -630,7 +630,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