Skip to contentSkip to conversation

hwmon: (coretemp) Drop N4xx, N5xx, D4xx, D5xx CPUs from tjmax table

PATCH In review Guenter Roeck 2 participants 2 messages Oct 9, 2012 – Oct 12, 2012

Subsystems (2)
lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 3/5 hwmon: (coretemp) Drop N4xx, N5xx, D4xx, D5xx CPUs from tjmax table

Since N4xx, N5xx, D4xx, and D5xx are now reliably detected using the model ID and the stepping/mask, drop the respective entries from tjmax_table.

---
 drivers/hwmon/coretemp.c |    8 --------
 1 file changed, 8 deletions(-)
drivers/hwmon/coretemp.c +0 -8
index 7107096..96ab10c 100644
@@ -196,14 +196,6 @@ struct tjmax {
 };
 
 static const struct tjmax __cpuinitconst tjmax_table[] = {
-	{ "CPU D410", 100000 },
-	{ "CPU D425", 100000 },
-	{ "CPU D510", 100000 },
-	{ "CPU D525", 100000 },
-	{ "CPU N450", 100000 },
-	{ "CPU N455", 100000 },
-	{ "CPU N470", 100000 },
-	{ "CPU N475", 100000 },
 	{ "CPU  230", 100000 },
 	{ "CPU  330", 125000 },
 };
Signature · 7 lines
1.7.9.7


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Acked-by on v1 3/5
#1 lore raw
Quoted 17 lines · Guenter Roeck

Since N4xx, N5xx, D4xx, and D5xx are now reliably detected using the model ID and the stepping/mask, drop the respective entries from tjmax_table.

---
 drivers/hwmon/coretemp.c |    8 --------
 1 file changed, 8 deletions(-)
drivers/hwmon/coretemp.c +0 -1
index 7107096..96ab10c 100644
@@ -196,14 +196,6 @@ struct tjmax {
 };
 
 static const struct tjmax __cpuinitconst tjmax_table[] = {
-	{ "CPU D410", 100000 },

drivers/hwmon/coretemp.c struct tjmax { · line 201

Quoted 10 lines
drivers/hwmon/coretemp.c +0 -7
-	{ "CPU D425", 100000 },
-	{ "CPU D510", 100000 },
-	{ "CPU D525", 100000 },
-	{ "CPU N450", 100000 },
-	{ "CPU N455", 100000 },
-	{ "CPU N470", 100000 },
-	{ "CPU N475", 100000 },
 	{ "CPU  230", 100000 },
 	{ "CPU  330", 125000 },
 };

Great, matching by model is certainly faster.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors