forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-axxia/platsmp.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-axxia/platsmp.c
34 *
45 * Copyright (C) 2012 LSI Corporation
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
118 #include <linux/init.h>
....@@ -42,6 +39,7 @@
4239 return -ENOENT;
4340
4441 syscon = of_iomap(syscon_np, 0);
42
+ of_node_put(syscon_np);
4543 if (!syscon)
4644 return -ENOMEM;
4745