iommu/arm-smmu: Streamline SMMU data lookups
Simplify things somewhat by stashing our arm_smmu_device instance in drvdata, so that it's readily available to our driver model callbacks. Then we can excise the private list entirely, since the driver core already has a perfectly good list of SMMU devices we can use in the one instance we actually need to. Finally, make a further modest code saving with the relatively new of_device_get_match_data() helper. Change-Id: If6a06e39d3d006f66698e77dc99e1ce1313e31ae Tested-by:Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by:
Robin Murphy <robin.murphy@arm.com> Signed-off-by:
Will Deacon <will.deacon@arm.com> Git-commit: d6fc5d97 Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-4.4 Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment