Drop VRM reporting and selection support from libsensors. Since kernel

2.6.9, the right VID conversion formula is selected automatically
depending on the CPU model, so the user shouldn't have to care.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4543 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-07-03 13:22:28 +00:00
1 parent e10dec5e86
commit 7cc03f5029
11 files changed
+17 -138

No files matched your search

-4
View File
@@ -553,10 +553,6 @@ sensors_feature_type sensors_feature_get_type(
int i, nr, count;
struct feature_type_match *submatches;
/* vrm is special */
if (!strcmp(feature->name, "vrm"))
return SENSORS_FEATURE_VRM;
for(i = 0; matches[i].name != 0; i++)
if ((count = sscanf(feature->name, matches[i].name, &nr, &c)))
break;
-1
View File
@@ -176,7 +176,6 @@ typedef enum sensors_feature_type {
SENSORS_FEATURE_TEMP_SENS,
SENSORS_FEATURE_VID = 0x300,
SENSORS_FEATURE_VRM,
SENSORS_FEATURE_UNKNOWN = INT_MAX,
-2
View File
@@ -52,8 +52,6 @@ int get_type_scaling(int type)
switch (type) {
case SENSORS_FEATURE_VID:
return 3;
case SENSORS_FEATURE_VRM:
return 1;
default:
return 0;
}