thermal/intel: Modify function description

Message ID 20230118012057.4423-1-wangdeming@inspur.com
State New
Headers
Series thermal/intel: Modify function description |

Commit Message

Deming Wang Jan. 18, 2023, 1:20 a.m. UTC
  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(-)
  

Comments

Rafael J. Wysocki Jan. 18, 2023, 8:04 p.m. UTC | #1
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!
  

Patch

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)
 {