commit | 941a802d939221028baf6d19afd6dc8652219a81 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Aug 11 16:25:10 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Wed Oct 14 13:43:50 2015 +0100 |
tree | 6dc03e6cca3dce66f4e1f0241cd30e30eedc5d5e | |
parent | 25cb62b76430a91cc6195f902e61c2cb84ade622 [diff] |
iommu/arm-smmu: Use drvdata instead of maintaining smmu_devices list Rather than keep a private list of struct arm_smmu_device and searching this whenever we need to look up the correct SMMU instance, instead use the drvdata field in the struct device to take care of the mapping for us. Signed-off-by: Will Deacon <will.deacon@arm.com>