forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/cpufreq/sti-cpufreq.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Match running platform with pre-defined OPP values for CPUFreq
34 *
....@@ -5,10 +6,6 @@
56 * Lee Jones <lee.jones@linaro.org>
67 *
78 * Copyright (C) 2015 STMicroelectronics (R&D) Limited
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the version 2 of the GNU General Public License as
11
- * published by the Free Software Foundation
129 */
1310
1411 #include <linux/cpu.h>
....@@ -43,11 +40,11 @@
4340 };
4441
4542 /**
46
- * ST CPUFreq Driver Data
43
+ * struct sti_cpufreq_ddata - ST CPUFreq Driver Data
4744 *
48
- * @cpu_node CPU's OF node
49
- * @syscfg_eng Engineering Syscon register map
50
- * @regmap Syscon register map
45
+ * @cpu: CPU's OF node
46
+ * @syscfg_eng: Engineering Syscon register map
47
+ * @syscfg: Syscon register map
5148 */
5249 static struct sti_cpufreq_ddata {
5350 struct device *cpu;