hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-imx/src.c
....@@ -1,13 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2011 Freescale Semiconductor, Inc.
34 * Copyright 2011 Linaro Ltd.
4
- *
5
- * The code contained herein is licensed under the GNU General Public
6
- * License. You may obtain a copy of the GNU General Public License
7
- * Version 2 or later at the following locations:
8
- *
9
- * http://www.opensource.org/licenses/gpl-license.html
10
- * http://www.gnu.org/copyleft/gpl.html
115 */
126
137 #include <linux/init.h>
....@@ -48,9 +42,6 @@
4842 unsigned long flags;
4943 int bit;
5044 u32 val;
51
-
52
- if (!src_base)
53
- return -ENODEV;
5445
5546 if (sw_reset_idx >= ARRAY_SIZE(sw_reset_bits))
5647 return -EINVAL;