summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2016-09-12 17:13:52 +0100
committerWill Deacon <will.deacon@arm.com>2016-09-16 09:34:19 +0100
commitd6fc5d977671d16535de66645f83a1bd07e1317d (patch)
tree608fa34ecbda7ecac83972491c621b295e835896 /certs
parentf80cd885fcdd05dff769d62a116313927a03d480 (diff)
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. 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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions