2023-01-18 01:40:29

by Deming Wang

[permalink] [raw]
Subject: [PATCH] thermal/intel: Modify function description

Delete the wrong description and add the corresponding description.

Signed-off-by: Deming Wang <[email protected]>
---
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


2023-01-18 21:37:30

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] thermal/intel: Modify function description

On Wed, Jan 18, 2023 at 2:21 AM Deming Wang <[email protected]> wrote:
>
> Delete the wrong description and add the corresponding description.
>
> Signed-off-by: Deming Wang <[email protected]>
> ---
> 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!