ARM: uniphier: correct the call order of of_node_put()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 15 Apr 2016 10:48:29 +0000 (19:48 +0900)
committerArnd Bergmann <arnd@arndb.de>
Mon, 25 Apr 2016 22:12:22 +0000 (00:12 +0200)
commit01bbcdffa90d13f61d8034ef82a68484edbc2f5c
treec1be391aec9c5510ad4152f97ccec51bd4cf34a4
parenta3003158b14d0d7eccbb957a1a449d80bcf05f93
ARM: uniphier: correct the call order of of_node_put()

Put nodes after of_address_to_resource() in case the nodes might be
released while parsing in them.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-uniphier/platsmp.c