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 <xzhangjr@gmail.com>
Link: https://lore.kernel.org/r/20260616125631.35537-1-xzhangjr@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Ximing Zhang 2026-06-16 16:56:31 +04:00 committed by Guenter Roeck
parent bf74d14fba
commit 6a9ad0ac9b

View File

@ -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;