diff options
author | Will Deacon <will.deacon@arm.com> | 2015-08-11 17:25:10 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-10-14 14:43:50 +0200 |
commit | 941a802d939221028baf6d19afd6dc8652219a81 (patch) | |
tree | 6dc03e6cca3dce66f4e1f0241cd30e30eedc5d5e /drivers/iommu/arm-smmu.c | |
parent | Linux 4.3-rc5 (diff) | |
download | linux-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