hwmon: (coretemp) Drop N4xx, N5xx, D4xx, D5xx CPUs from tjmax table
Subsystems (2)
Guenter Roeck
maintainerPATCH 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.
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/coretemp.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/hwmon/coretemp.c +0 -8
@@ -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
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.Signed-off-by Guenter Roeck <[email protected]>--- drivers/hwmon/coretemp.c | 8 -------- 1 file changed, 8 deletions(-)drivers/hwmon/coretemp.c +0
-1@@ -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.
Acked-by Jean Delvare <[email protected]>
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors