diff options
author | Rob Herring <[email protected]> | 2018-11-16 15:06:59 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-11-18 13:35:21 -0800 |
commit | 88ca0557a01386834cbb59d5fc43041e810cbc69 (patch) | |
tree | 52b03e8f6b668ed89277548d2c0f895e4c5d82ed /arch/sparc/kernel/leon_kernel.c | |
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" <[email protected]>
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/leon_kernel.c')
0 files changed, 0 insertions, 0 deletions