summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-01-24 17:22:09 +0300
committerJoerg Roedel <jroedel@suse.de>2018-02-13 16:33:53 +0300
commit6d7cf02a8660cf5570b20017df4b14a2ddbd1694 (patch)
tree693d9aa76250ea99b4180ca97d21a0b0174592a5 /drivers/iommu/amd_iommu.c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-6d7cf02a8660cf5570b20017df4b14a2ddbd1694.tar.xz
iommu/exynos: Use generic group callback
Since iommu_group_get_for_dev() already tries iommu_group_get() and will not call ops->device_group if the group is already non-NULL, the check in get_device_iommu_group() is always redundant and it reduces to a duplicate of the generic version; let's just use that one instead. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions