diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-29 23:53:01 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-02-29 23:53:01 +0100 |
commit | 809683ee060de5ea45294d465dc242dee1ff189f (patch) | |
tree | 0df9217c4d03c824e59d9aad33cf3f9b192ae4e5 /arch | |
parent | b8d56b61af3863276be43e7fbb8b374e96b50005 (diff) | |
parent | 7d8f9ac16223cf14f199a96355b0add4ca286662 (diff) |
Merge tag 'mvebu-cleanup-4.6-2' of git://git.infradead.org/linux-mvebu into next/cleanup
Merge "mvebu cleanup for 4.6 (part 2)" from Gregory CLEMENT:
Add a missing call to of_node_put() armada_xp_smp_prepare_cpus()
* tag 'mvebu-cleanup-4.6-2' of git://git.infradead.org/linux-mvebu:
ARM: mvebu: add missing of_node_put()
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mvebu/platsmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mvebu/platsmp.c index f9597b701028..46c742d3bd41 100644 --- a/arch/arm/mach-mvebu/platsmp.c +++ b/arch/arm/mach-mvebu/platsmp.c @@ -140,6 +140,7 @@ static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus) panic("Cannot find 'marvell,bootrom' compatible node"); err = of_address_to_resource(node, 0, &res); + of_node_put(node); if (err < 0) panic("Cannot get 'bootrom' node address"); |