linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/thermal: fix repeated words in comments
@ 2022-08-22 12:32 Jilin Yuan
  2022-09-03 17:56 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-08-22 12:32 UTC (permalink / raw)
  To: amit.kachhap, daniel.lezcano, viresh.kumar, lukasz.luba, rafael,
	amitk, rui.zhang
  Cc: linux-pm, linux-kernel, Jilin Yuan

 Delete the redundant word 'device'.
 Delete the redundant word 'which'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers/thermal: fix repeated words in comments
  2022-08-22 12:32 [PATCH] drivers/thermal: fix repeated words in comments Jilin Yuan
@ 2022-09-03 17:56 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-09-03 17:56 UTC (permalink / raw)
  To: Jilin Yuan
  Cc: Amit Kachhap, Daniel Lezcano, Viresh Kumar, Lukasz Luba,
	Rafael J. Wysocki, Amit Kucheria, Zhang, Rui, Linux PM,
	Linux Kernel Mailing List

On Mon, Aug 22, 2022 at 2:32 PM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
>
>  Delete the redundant word 'device'.
>  Delete the redundant word 'which'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.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
> --

Applied (as 6.1 material) under edited subject and with rewritten changelog.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-03 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 12:32 [PATCH] drivers/thermal: fix repeated words in comments Jilin Yuan
2022-09-03 17:56 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).