mips: octeon: convert to use unflatten_and_copy_device_tree
authorRob Herring <robh@kernel.org>
Wed, 2 Apr 2014 22:45:06 +0000 (17:45 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:55:53 +0000 (00:55 -0500)
commit8c97cec99033005cf1ede48a7b351e48a723749a
tree7a23d26671a91e8b392f88cd6bae660f3b643faf
parenta798c10faf62a505d24e5f6213fbaf904a39623f
mips: octeon: convert to use unflatten_and_copy_device_tree

The octeon FDT code can be simplified by using
unflatten_and_copy_device_tree function. This removes all accesses to
FDT header data by the arch code.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Tested-by: Grant Likely <grant.likely@linaro.org>
arch/mips/cavium-octeon/setup.c