]> git.baikalelectronics.ru Git - kernel.git/commit
mips: ralink: convert to use unflatten_and_copy_device_tree
authorRob Herring <robh@kernel.org>
Thu, 3 Apr 2014 00:07:24 +0000 (19:07 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:56:00 +0000 (00:56 -0500)
commitb256b6c6b44b06cd93c9ecae8b837bf2732b3448
tree068e04d2344ac0e3c9750fb8ed7c922fc2ff392e
parent455a7df050f0f895295ce987b041014359f1add8
mips: ralink: convert to use unflatten_and_copy_device_tree

The ralink 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/ralink/of.c