From: Jilin Yuan Date: Mon, 22 Aug 2022 12:32:39 +0000 (+0800) Subject: thermal: Drop duplicate words from comments X-Git-Tag: v6.1-rc5~353^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96f1c52992e5a91207aabf6cf8d1b0f3e6479a97;p=platform%2Fkernel%2Flinux-starfive.git thermal: Drop duplicate words from comments Drop duplicate words from two kerneldoc comments in the thermal subsystem. Signed-off-by: Jilin Yuan [ rjw: Subject edits and changelog rewrite ] Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/thermal/cpufreq_cooling.c b/drivers/thermal/cpufreq_cooling.c index b76293c..b40ff13 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 802c30b..3aa9e20 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