aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorGravatar Deming Wang <wangdeming@inspur.com> 2023-01-17 20:20:57 -0500
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2023-01-18 21:02:36 +0100
commita30e65792c473f0b758fcfe881264184423bdb52 (patch)
tree3214af9c40f2797f7250885d6ca135dbb4efa668 /drivers/thermal
parentthermal: intel: Fix unsigned comparison with less than zero (diff)
downloadlinux-a30e65792c473f0b758fcfe881264184423bdb52.tar.gz
linux-a30e65792c473f0b758fcfe881264184423bdb52.tar.bz2
linux-a30e65792c473f0b758fcfe881264184423bdb52.zip
thermal: intel: menlow: Update function descriptions
Update function parameter descriptions for sensor_get_auxtrip() and sensor_set_auxtrip(). [ rjw: New changelog, subject edits ] Signed-off-by: Deming Wang <wangdeming@inspur.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/intel/intel_menlow.c12
1 files 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)
{