commit | 88ca0557a01386834cbb59d5fc43041e810cbc69 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri Nov 16 15:06:59 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 18 13:35:21 2018 -0800 |
tree | 52b03e8f6b668ed89277548d2c0f895e4c5d82ed | |
parent | 29c990dfc77c58b21a0f2ff4640b6a26955d0661 [diff] |
sparc: 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. Cc: "David S. Miller" <davem@davemloft.net> Cc: sparclinux@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>