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)
commita9a455e854cdb120db1d8efc5373f9ad2a63e146
tree4c699c463cbef134771b466d72bf437851e49168
parent37dc218bed44b650702682a8f89b226a9d4a34fb
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