.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2011 Freescale Semiconductor, Inc. |
---|
3 | 4 | * 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 |
---|
11 | 5 | */ |
---|
12 | 6 | |
---|
13 | 7 | #include <linux/init.h> |
---|
.. | .. |
---|
48 | 42 | unsigned long flags; |
---|
49 | 43 | int bit; |
---|
50 | 44 | u32 val; |
---|
51 | | - |
---|
52 | | - if (!src_base) |
---|
53 | | - return -ENODEV; |
---|
54 | 45 | |
---|
55 | 46 | if (sw_reset_idx >= ARRAY_SIZE(sw_reset_bits)) |
---|
56 | 47 | return -EINVAL; |
---|