iommu/arm-smmu: Make use of phandle iterators in device-tree parsing
authorJoerg Roedel <jroedel@suse.de>
Mon, 4 Apr 2016 15:49:22 +0000 (17:49 +0200)
committerRob Herring <robh@kernel.org>
Tue, 19 Apr 2016 22:25:15 +0000 (17:25 -0500)
commitcb6c27bb09122ceb0effda0b15885123870a6af7
treebb993a2b468374aeab3950c747ec7c195aa2c0e1
parentabdaa77b18480361f3565d958a2acffad268c39c
iommu/arm-smmu: Make use of phandle iterators in device-tree parsing

Remove the usage of of_parse_phandle_with_args() and replace
it by the phandle-iterator implementation so that we can
parse out all of the potentially present 128 stream-ids.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/iommu/arm-smmu.c