forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/mach-imx/cpu-imx5.c
....@@ -1,12 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved.
3
- *
4
- * The code contained herein is licensed under the GNU General Public
5
- * License. You may obtain a copy of the GNU General Public License
6
- * Version 2 or later at the following locations:
7
- *
8
- * http://www.opensource.org/licenses/gpl-license.html
9
- * http://www.gnu.org/copyleft/gpl.html
104 *
115 * This file contains the CPU initialization code.
126 */
....@@ -34,6 +28,7 @@
3428
3529 np = of_find_compatible_node(NULL, NULL, compat);
3630 iim_base = of_iomap(np, 0);
31
+ of_node_put(np);
3732 WARN_ON(!iim_base);
3833
3934 srev = readl(iim_base + IIM_SREV) & 0xff;