]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: fsl_pamu: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:46:27 +0000 (09:46 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commit8c5df0f4da55dd357d3040ee58c023234a2df540
tree4c699c463cbef134771b466d72bf437851e49168
parent80af4cbbc428a939b68030a762e6686d9c8957ba
iommu: fsl_pamu: use for_each_of_cpu_node iterator

Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".

Cc: Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/iommu/fsl_pamu.c