Commit e46156e
committed
hwmon: (k10temp): Use cpu_feature_enabled() for detecting zen
JIRA: https://issues.redhat.com/browse/RHEL-104300
commit 4599510
Author: Mario Limonciello <mario.limonciello@amd.com>
Date: Tue Aug 20 00:35:57 2024 -0500
hwmon: (k10temp): Use cpu_feature_enabled() for detecting zen
This removes some boilerplate from the code and will allow adding
future CPUs by just device IDs.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Message-ID: <20240820053558.1052853-1-superm1@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David Arcari <darcari@redhat.com>1 parent 5d1ca4f commit e46156e
1 file changed
+10
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
455 | 459 | | |
| 460 | + | |
456 | 461 | | |
457 | 462 | | |
458 | 463 | | |
| |||
474 | 479 | | |
475 | 480 | | |
476 | 481 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| |||
501 | 502 | | |
502 | 503 | | |
503 | 504 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | 505 | | |
512 | 506 | | |
513 | 507 | | |
| |||
0 commit comments