Commit 809683ee authored by Arnd Bergmann's avatar Arnd Bergmann

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()
parents b8d56b61 7d8f9ac1
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment