mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Rename sensors_feature_data.mode to flags, as we plan to use it to
store non-mode flags soon. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4757 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
079ba26574
commit
87efbc06c5
7 files changed
+11
-11
No files matched your search
+2
-2
@@ -153,9 +153,9 @@ static int sensors_read_dynamic_chip(sensors_chip_features *chip,
|
||||
}
|
||||
|
||||
if (attr->method & SYSFS_METHOD_SHOW)
|
||||
feature.data.mode |= SENSORS_MODE_R;
|
||||
feature.data.flags |= SENSORS_MODE_R;
|
||||
if (attr->method & SYSFS_METHOD_STORE)
|
||||
feature.data.mode |= SENSORS_MODE_W;
|
||||
feature.data.flags |= SENSORS_MODE_W;
|
||||
|
||||
feature.scaling = get_type_scaling(type);
|
||||
|
||||
|
||||
Reference in new issue
Block a user