hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/cpufreq/longhaul.c
....@@ -1,8 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * (C) 2001-2004 Dave Jones.
34 * (C) 2002 Padraig Brady. <padraig@antefacto.com>
45 *
5
- * Licensed under the terms of the GNU GPL License version 2.
66 * Based upon datasheets & sample CPUs kindly provided by VIA.
77 *
88 * VIA have currently 3 different versions of Longhaul.
....@@ -593,7 +593,6 @@
593593 break;
594594 default:
595595 return;
596
- break;
597596 }
598597 if (min_vid_speed >= highest_speed)
599598 return;
....@@ -851,7 +850,7 @@
851850 case TYPE_POWERSAVER:
852851 pr_cont("Powersaver supported\n");
853852 break;
854
- };
853
+ }
855854
856855 /* Doesn't hurt */
857856 longhaul_setup_southbridge();
....@@ -910,7 +909,7 @@
910909 };
911910
912911 static const struct x86_cpu_id longhaul_id[] = {
913
- { X86_VENDOR_CENTAUR, 6 },
912
+ X86_MATCH_VENDOR_FAM(CENTAUR, 6, NULL),
914913 {}
915914 };
916915 MODULE_DEVICE_TABLE(x86cpu, longhaul_id);