hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/cpufreq/speedstep-lib.c
....@@ -1,7 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
3
- *
4
- * Licensed under the terms of the GNU GPL License version 2.
54 *
65 * Library for common functions for Intel SpeedStep v.1 and v.2 support
76 *
....@@ -241,7 +240,7 @@
241240 return pentium3_get_frequency(processor);
242241 default:
243242 return 0;
244
- };
243
+ }
245244 return 0;
246245 }
247246 EXPORT_SYMBOL_GPL(speedstep_get_frequency);
....@@ -367,7 +366,7 @@
367366 } else
368367 return SPEEDSTEP_CPU_PIII_C;
369368 }
370
- /* fall through */
369
+ fallthrough;
371370 default:
372371 return 0;
373372 }