Skip to content

Commit 96f1c52

Browse files
Jilin Yuanrafaeljw
authored andcommitted
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>
1 parent b90cb10 commit 96f1c52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/thermal/cpufreq_cooling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev,
475475

476476
/**
477477
* __cpufreq_cooling_register - helper function to create cpufreq cooling device
478-
* @np: a valid struct device_node to the cooling device device tree node
478+
* @np: a valid struct device_node to the cooling device tree node
479479
* @policy: cpufreq policy
480480
* Normally this should be same as cpufreq policy->related_cpus.
481481
* @em: Energy Model of the cpufreq policy

drivers/thermal/thermal_of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ EXPORT_SYMBOL_GPL(devm_thermal_zone_of_sensor_register);
630630
/**
631631
* devm_thermal_zone_of_sensor_unregister - Resource managed version of
632632
* thermal_zone_of_sensor_unregister().
633-
* @dev: Device for which which resource was allocated.
633+
* @dev: Device for which resource was allocated.
634634
* @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
635635
*
636636
* This function removes the sensor callbacks and private data from the

0 commit comments

Comments
 (0)