hwmon: (coretemp) Clarify attr_size comment
Subsystems (2)
PATCH 1/1 hwmon: (coretemp) Clarify attr_size comment
The attr_size field stores the number of sysfs attributes created for a temperature data group. Clarify the comment to describe the field directly.
No functional change intended.
Signed-off-by Ximing Zhang <[email protected]>
--- drivers/hwmon/coretemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/coretemp.c +1 -1
@@ -68,7 +68,7 @@ enum coretemp_attr_index {* This value is passed as "id" field to rdmsr/wrmsr functions. * @status_reg: One of IA32_THERM_STATUS or IA32_PACKAGE_THERM_STATUS, * from where the temperature values should be read. -* @attr_size: Total number of pre-core attrs displayed in the sysfs. +* @attr_size: Number of sysfs attributes in this temperature data group. */ struct temp_data {int temp;
Signature · 1 line
2.54.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
The
attr_sizefield stores the number of sysfs attributes created for a temperature data group. Clarify the comment to describe the field directly.No functional change intended.
Signed-off-by Ximing Zhang <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 6 lines · Ximing Zhang
The
attr_sizefield stores the number of sysfs attributes created for a temperature data group. Clarify the comment to describe the field directly.No functional change intended.
Signed-off-by Ximing Zhang <[email protected]>
Applied to hwmon-next.
Thanks,
Guenter