mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thermal/intel: Modify function description
@ 2023-01-18  1:20 Deming Wang
  2023-01-18 20:04 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Deming Wang @ 2023-01-18  1:20 UTC (permalink / raw)
  To: sujith.thomas, rafael, daniel.lezcano
  Cc: amitk, rui.zhang, linux-pm, linux-kernel, Deming Wang

Delete the wrong description and add the corresponding description.

Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
 drivers/thermal/intel/intel_menlow.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/thermal/intel/intel_menlow.c b/drivers/thermal/intel/intel_menlow.c
index 3f885b08a490..5a6ad0552311 100644
--- a/drivers/thermal/intel/intel_menlow.c
+++ b/drivers/thermal/intel/intel_menlow.c
@@ -232,9 +232,9 @@ static DEFINE_MUTEX(intel_menlow_attr_lock);
 
 /*
  * sensor_get_auxtrip - get the current auxtrip value from sensor
- * @name: Thermalzone name
- * @auxtype : AUX0/AUX1
- * @buf: syfs buffer
+ * @handle: Object handle
+ * @index : GET_AUX1/GET_AUX0
+ * @value : The address will be fill by the value
  */
 static int sensor_get_auxtrip(acpi_handle handle, int index,
 							unsigned long long *value)
@@ -254,9 +254,9 @@ static int sensor_get_auxtrip(acpi_handle handle, int index,
 
 /*
  * sensor_set_auxtrip - set the new auxtrip value to sensor
- * @name: Thermalzone name
- * @auxtype : AUX0/AUX1
- * @buf: syfs buffer
+ * @handle: Object handle
+ * @index : GET_AUX1/GET_AUX0
+ * @value : The value will be set
  */
 static int sensor_set_auxtrip(acpi_handle handle, int index, int value)
 {
-- 
2.27.0


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

* Re: [PATCH] thermal/intel: Modify function description
  2023-01-18  1:20 [PATCH] thermal/intel: Modify function description Deming Wang
@ 2023-01-18 20:04 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2023-01-18 20:04 UTC (permalink / raw)
  To: Deming Wang
  Cc: sujith.thomas, rafael, daniel.lezcano, amitk, rui.zhang,
	linux-pm, linux-kernel

On Wed, Jan 18, 2023 at 2:21 AM Deming Wang <wangdeming@inspur.com> wrote:
>
> Delete the wrong description and add the corresponding description.
>
> Signed-off-by: Deming Wang <wangdeming@inspur.com>
> ---
>  drivers/thermal/intel/intel_menlow.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/thermal/intel/intel_menlow.c b/drivers/thermal/intel/intel_menlow.c
> index 3f885b08a490..5a6ad0552311 100644
> --- a/drivers/thermal/intel/intel_menlow.c
> +++ b/drivers/thermal/intel/intel_menlow.c
> @@ -232,9 +232,9 @@ static DEFINE_MUTEX(intel_menlow_attr_lock);
>
>  /*
>   * sensor_get_auxtrip - get the current auxtrip value from sensor
> - * @name: Thermalzone name
> - * @auxtype : AUX0/AUX1
> - * @buf: syfs buffer
> + * @handle: Object handle
> + * @index : GET_AUX1/GET_AUX0
> + * @value : The address will be fill by the value
>   */
>  static int sensor_get_auxtrip(acpi_handle handle, int index,
>                                                         unsigned long long *value)
> @@ -254,9 +254,9 @@ static int sensor_get_auxtrip(acpi_handle handle, int index,
>
>  /*
>   * sensor_set_auxtrip - set the new auxtrip value to sensor
> - * @name: Thermalzone name
> - * @auxtype : AUX0/AUX1
> - * @buf: syfs buffer
> + * @handle: Object handle
> + * @index : GET_AUX1/GET_AUX0
> + * @value : The value will be set
>   */
>  static int sensor_set_auxtrip(acpi_handle handle, int index, int value)
>  {
> --

Applied as 6.3 material with edits in the subject and a modified
changelog, thanks!

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

end of thread, other threads:[~2023-01-18 20:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18  1:20 [PATCH] thermal/intel: Modify function description Deming Wang
2023-01-18 20:04 ` 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

all inboxes | Powered by JetHome®