mvebu cleanup for 4.6 (part 2)

Add a missing call to of_node_put() armada_xp_smp_prepare_cpus()
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAlbQWGcACgkQCwYYjhRyO9XC3QCfQRlD4Is9IhQPmFnQ7d48TixY
 k2IAn3OX5cNsG0dUzUJ8EOOTDEOLqBvV
 =8cY9
 -----END PGP SIGNATURE-----

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()
This commit is contained in:
Arnd Bergmann 2016-02-29 23:53:01 +01:00
commit 809683ee06
1 changed files with 1 additions and 0 deletions

View File

@ -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");