Skip to contentSkip to conversation

drivers/hwmon: Remove wrong comment

PATCH In review Juergen Gross 4 participants 4 messages Nov 25

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/hwmon: Remove wrong comment

In drivers/hwmon/coretemp.c drop mentioning rdmsr/wrmsr in a comment, as it was incorrect in this regard.

---
To be applied on top of current core/msr branch of the tip tree.

---
 drivers/hwmon/coretemp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/hwmon/coretemp.c +1 -2
index 96d57fe12de6..ad5e8f40ad0c 100644
@@ -66,8 +66,7 @@ enum coretemp_attr_index {
  *		IA32_TEMPERATURE_TARGET MSR.
  * @last_updated: The time when the current temperature value was updated
  *		earlier (in jiffies).
- * @cpu_core_id: The CPU Core from which temperature values should be read
- *		This value is passed as "id" field to rdmsr/wrmsr functions.
+ * @cpu_core_id: The CPU Core from which temperature values should be read.
  * @status_reg: One of IA32_THERM_STATUS or IA32_PACKAGE_THERM_STATUS,
  *		from where the temperature values should be read.
  * @attr_size:  Number of sysfs attributes in this temperature data group.
Signature · 1 line
2.56.0
maintainer Acked-by on v1 1/1
#3 lore raw
In reply to Juergen Gross
Quoted 5 lines · Juergen Gross

In drivers/hwmon/coretemp.c drop mentioning rdmsr/wrmsr in a comment, as it was incorrect in this regard.

Quoted 20 lines

---
To be applied on top of current core/msr branch of the tip tree.

---
  drivers/hwmon/coretemp.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
drivers/hwmon/coretemp.c +1 -2
index 96d57fe12de6..ad5e8f40ad0c 100644
@@ -66,8 +66,7 @@ enum coretemp_attr_index {
   *		IA32_TEMPERATURE_TARGET MSR.
   * @last_updated: The time when the current temperature value was updated
   *		earlier (in jiffies).
- * @cpu_core_id: The CPU Core from which temperature values should be read
- *		This value is passed as "id" field to rdmsr/wrmsr functions.
+ * @cpu_core_id: The CPU Core from which temperature values should be read.
   * @status_reg: One of IA32_THERM_STATUS or IA32_PACKAGE_THERM_STATUS,
   *		from where the temperature values should be read.
   * @attr_size:  Number of sysfs attributes in this temperature data group.