sysfs: Do not prescale frequency to MHz

Add autoscaling in the output instead.

Fixes: 54363271 ("libsensors + sensors: Add freq_input support")
This commit is contained in:
Michal Suchanek committed 2023-12-27 14:57:05 +01:00
1 parent fceeee0543
commit 6fa5cba2e3
2 files changed
+3 -2

No files matched your search

-1
View File
@@ -163,7 +163,6 @@ int get_type_scaling(sensors_subfeature_type type)
return 1000;
case SENSORS_SUBFEATURE_POWER_AVERAGE:
case SENSORS_SUBFEATURE_ENERGY_INPUT:
case SENSORS_SUBFEATURE_FREQ_INPUT:
return 1000000;
}