summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/arm-smmu.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-08-11 17:25:10 +0200
committerWill Deacon <will.deacon@arm.com>2015-10-14 14:43:50 +0200
commit941a802d939221028baf6d19afd6dc8652219a81 (patch)
tree6dc03e6cca3dce66f4e1f0241cd30e30eedc5d5e /drivers/iommu/arm-smmu.c
parentLinux 4.3-rc5 (diff)
downloadlinux-941a802d939221028baf6d19afd6dc8652219a81.tar.xz
linux-941a802d939221028baf6d19afd6dc8652219a81.zip
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>
Diffstat (limited to 'drivers/iommu/arm-smmu.c')
0 files changed, 0 insertions, 0 deletions