diff options
author | 2016-09-12 17:13:52 +0100 | |
---|---|---|
committer | 2016-09-16 09:34:19 +0100 | |
commit | d6fc5d977671d16535de66645f83a1bd07e1317d (patch) | |
tree | 608fa34ecbda7ecac83972491c621b295e835896 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/arm-smmu: Refactor mmu-masters handling (diff) | |
download | wireguard-linux-d6fc5d977671d16535de66645f83a1bd07e1317d.tar.xz wireguard-linux-d6fc5d977671d16535de66645f83a1bd07e1317d.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions