summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/bcm63xx_smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-bcm/bcm63xx_smp.c')
-rw-r--r--arch/arm/mach-bcm/bcm63xx_smp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-bcm/bcm63xx_smp.c b/arch/arm/mach-bcm/bcm63xx_smp.c
index f5fb10b4376f..18d0ffc621aa 100644
--- a/arch/arm/mach-bcm/bcm63xx_smp.c
+++ b/arch/arm/mach-bcm/bcm63xx_smp.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Broadcom BCM63138 DSL SoCs SMP support code
*
* Copyright (C) 2015, Broadcom Corporation
- *
- * Licensed under the terms of the GPLv2
*/
#include <linux/delay.h>
@@ -142,8 +141,8 @@ static int bcm63138_smp_boot_secondary(unsigned int cpu,
* return
*/
ret = bcm63xx_pmb_power_on_cpu(dn);
- if (ret)
- goto out;
+ of_node_put(dn);
+
out:
iounmap(bootlut_base);