openrisc: remove the redundant of_platform_populate
authorRob Herring <robh@kernel.org>
Tue, 30 Aug 2016 15:10:59 +0000 (00:10 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 12 Dec 2016 14:09:57 +0000 (23:09 +0900)
commit994894c3f710f5d8ca89d22988fe715db57bbc87
treeaca7c079f67453332c0f26b8160e69e81c4b6e52
parent34bbdcdcda88a24ef4d0f58ea84a9fdf14aea7af
openrisc: remove the redundant of_platform_populate

The of_platform_populate call in the openrisc arch code is now redundant
as the DT core provides a default call. Openrisc has a NULL match table
which means only top level nodes with compatible strings will have
devices creates. The default version will also descend nodes in the
match table such as "simple-bus" which should be fine as openrisc
doesn't have any of these (though it is preferred that memory-mapped
peripherals be grouped under a bus node(s)).

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Jonas Bonn <jonas@southpole.se>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/setup.c