kernel/arch/arm/mach-axxia/platsmp.c
.. .. @@ -1,11 +1,8 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /* 2 3 * linux/arch/arm/mach-axxia/platsmp.c 3 4 * 4 5 * Copyright (C) 2012 LSI Corporation 5 - *6 - * This program is free software; you can redistribute it and/or modify7 - * it under the terms of the GNU General Public License version 2 as8 - * published by the Free Software Foundation.9 6 */ 10 7 11 8 #include <linux/init.h> .. .. @@ -42,6 +39,7 @@ 42 39 return -ENOENT; 43 40 44 41 syscon = of_iomap(syscon_np, 0); 42 + of_node_put(syscon_np);45 43 if (!syscon) 46 44 return -ENOMEM; 47 45