hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/drivers/cpufreq/sa1110-cpufreq.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-sa1100/cpu-sa1110.c
34 *
45 * Copyright (C) 2001 Russell King
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * Note: there are two erratas that apply to the SA1110 here:
118 * 7 - SDRAM auto-power-up failure (rev A0)
....@@ -306,7 +303,8 @@
306303
307304 static int __init sa1110_cpu_init(struct cpufreq_policy *policy)
308305 {
309
- return cpufreq_generic_init(policy, sa11x0_freq_table, 0);
306
+ cpufreq_generic_init(policy, sa11x0_freq_table, 0);
307
+ return 0;
310308 }
311309
312310 /* sa1110_driver needs __refdata because it must remain after init registers