commit | e5480bdcc4429e4c172d450ee1db1934d84482ef | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri Nov 16 16:11:00 2018 -0600 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Nov 26 22:33:37 2018 +1100 |
tree | 2a788e3bd8b41b1d89a6ed7487e08ec84c2e2bc4 | |
parent | 5b8d6be7b8dd286bd654e37d637ded139eae5dd4 [diff] |
powerpc: Use device_type helpers to access the node type Remove directly accessing device_node.type pointer and use the accessors instead. This will eventually allow removing the type pointer. Replace the open coded iterating over child nodes with for_each_child_of_node() while we're here. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>