]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite325534ba03a8b62015e1b13786b7b48080d8e94
treeaca7c079f67453332c0f26b8160e69e81c4b6e52
parent21bc535cd4ed198a2a808ee076cb3778e01f0af7
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