hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/cpufreq/sa1100-cpufreq.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * cpu-sa1100.c: clock scaling for the SA1100
34 *
....@@ -25,22 +26,6 @@
2526 * P.O. Box 5031
2627 * 2600 GA Delft
2728 * The Netherlands
28
- *
29
- *
30
- * This program is free software; you can redistribute it and/or modify
31
- * it under the terms of the GNU General Public License as published by
32
- * the Free Software Foundation; either version 2 of the License, or
33
- * (at your option) any later version.
34
- *
35
- * This program is distributed in the hope that it will be useful,
36
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
37
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38
- * GNU General Public License for more details.
39
- *
40
- * You should have received a copy of the GNU General Public License
41
- * along with this program; if not, write to the Free Software
42
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43
- *
4429 *
4530 * Theory of operations
4631 * ====================
....@@ -80,7 +65,6 @@
8065 * sa1100_update_dram_timings(), you'll have to read sections 8.2,
8166 * 9.5.7.3, and 10.2 from the "Intel StrongARM SA-1100 Microprocessor
8267 * Developers Manual" (available for free from Intel).
83
- *
8468 */
8569
8670 #include <linux/kernel.h>
....@@ -197,7 +181,8 @@
197181
198182 static int __init sa1100_cpu_init(struct cpufreq_policy *policy)
199183 {
200
- return cpufreq_generic_init(policy, sa11x0_freq_table, 0);
184
+ cpufreq_generic_init(policy, sa11x0_freq_table, 0);
185
+ return 0;
201186 }
202187
203188 static struct cpufreq_driver sa1100_driver __refdata = {