From 6a9ad0ac9bd6f4234f5e468850e9f1e26707e37a Mon Sep 17 00:00:00 2001 From: Ximing Zhang Date: Tue, 16 Jun 2026 16:56:31 +0400 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20260616125631.35537-1-xzhangjr@gmail.com Signed-off-by: Guenter Roeck --- drivers/hwmon/coretemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 6215ea49faaa..d47ba64788e1 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c @@ -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;