mirror of
https://github.com/torvalds/linux.git
synced 2026-09-28 03:52:02 +02:00
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:
parent
bf74d14fba
commit
6a9ad0ac9b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user